<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Transimpedance_amplifier</id>
	<title>Transimpedance amplifier - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Transimpedance_amplifier"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Transimpedance_amplifier&amp;action=history"/>
	<updated>2026-06-08T04:50:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Transimpedance_amplifier&amp;diff=26380&amp;oldid=prev</id>
		<title>en&gt;Zen-in: /* Bandwidth and Stability */ more explanation of poles and zeros</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Transimpedance_amplifier&amp;diff=26380&amp;oldid=prev"/>
		<updated>2014-01-29T02:50:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Bandwidth and Stability: &lt;/span&gt; more explanation of poles and zeros&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In [[statistics]], the &amp;#039;&amp;#039;&amp;#039;Jarque–Bera test&amp;#039;&amp;#039;&amp;#039; is a [[goodness-of-fit]] test of whether sample data have the [[skewness]] and [[kurtosis]] matching a [[normal distribution]]. The test is named after [[Carlos Jarque]] and [[Anil K. Bera]]. The [[test statistic]] &amp;#039;&amp;#039;JB&amp;#039;&amp;#039; is defined as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \mathit{JB} = \frac{n}{6} \left( S^2 + \frac14 (K-3)^2 \right)&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;n&amp;#039;&amp;#039; is the number of observations (or degrees of freedom in general); &amp;#039;&amp;#039;S&amp;#039;&amp;#039; is the sample [[skewness]], and &amp;#039;&amp;#039;K&amp;#039;&amp;#039; is the sample [[kurtosis]]:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
    &amp;amp; S = \frac{ \hat{\mu}_3 }{ \hat{\sigma}^3 } &lt;br /&gt;
        = \frac{\frac1n \sum_{i=1}^n (x_i-\bar{x})^3} {\left(\frac1n \sum_{i=1}^n (x_i-\bar{x})^2 \right)^{3/2}} \\&lt;br /&gt;
    &amp;amp; K = \frac{ \hat{\mu}_4 }{ \hat{\sigma}^4 }  &lt;br /&gt;
        = \frac{\frac1n \sum_{i=1}^n (x_i-\bar{x})^4} {\left(\frac1n \sum_{i=1}^n (x_i-\bar{x})^2 \right)^2} ,&lt;br /&gt;
  \end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{\mu}_3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{\mu}_4&amp;lt;/math&amp;gt; are the estimates of third and fourth [[central moment]]s, respectively, &amp;lt;math&amp;gt;\bar{x}&amp;lt;/math&amp;gt; is the sample [[mean]], and &lt;br /&gt;
&amp;lt;math&amp;gt;\hat{\sigma}^2&amp;lt;/math&amp;gt; is the estimate of the second central moment, the [[variance]].&lt;br /&gt;
&lt;br /&gt;
If the data comes from a normal distribution, the &amp;#039;&amp;#039;JB&amp;#039;&amp;#039; statistic [[asymptotic analysis|asymptotically]] has a [[chi-squared distribution]] with two [[degrees of freedom (statistics)|degrees of freedom]], so the statistic can be used to [[statistical hypothesis testing|test]] the hypothesis that the data are from a [[normal distribution]]. The [[null hypothesis]] is a joint hypothesis of the skewness being zero and the [[excess kurtosis]] being zero. Samples from a normal distribution have an expected skewness of 0 and an expected excess kurtosis of 0 (which is the same as a kurtosis of 3). As the definition of &amp;#039;&amp;#039;JB&amp;#039;&amp;#039; shows, any deviation from this increases the JB statistic.&lt;br /&gt;
&lt;br /&gt;
For small samples the chi-squared approximation is overly sensitive, often rejecting the null hypothesis when it is in fact true. Furthermore, the distribution of p-values departs from a uniform distribution and becomes a right-skewed uni-modal distribution, especially for small p-values. This leads to a large [[Type I error]] rate. The table below shows some p-values approximated by a chi-squared distribution that differ from their true alpha levels for small samples.&lt;br /&gt;
&lt;br /&gt;
:{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Calculated p-value equivalents to true alpha levels at given sample sizes&lt;br /&gt;
! True α level !! 20 !! 30 !! 50 !! 70 !! 100&lt;br /&gt;
|-&lt;br /&gt;
! 0.1&lt;br /&gt;
| 0.307 || 0.252 || 0.201 || 0.183 || 0.1560&lt;br /&gt;
|-&lt;br /&gt;
! 0.05&lt;br /&gt;
| 0.1461 || 0.109 || 0.079 || 0.067 || 0.062&lt;br /&gt;
|-&lt;br /&gt;
! 0.025&lt;br /&gt;
| 0.051 || 0.0303 || 0.020 || 0.016 || 0.0168&lt;br /&gt;
|-&lt;br /&gt;
! 0.01&lt;br /&gt;
| 0.0064 || 0.0033 || 0.0015 || 0.0012 || 0.002&lt;br /&gt;
|}&lt;br /&gt;
(These values have been approximated by using [[Monte Carlo simulation]] in [[Matlab]])&lt;br /&gt;
&lt;br /&gt;
In [[MATLAB]]&amp;#039;s implementation, the chi-squared approximation for the JB statistic&amp;#039;s distribution is only used for large sample sizes (&amp;gt;&amp;amp;nbsp;2000). For smaller samples, it uses a table derived from [[Monte Carlo simulations]] in order to interpolate p-values.&amp;lt;ref name=&amp;quot;MathWorks&amp;quot;&amp;gt;{{cite web|url=http://www.mathworks.com/access/helpdesk/help/toolbox/stats/jbtest.html|title=Analysis of the JB-Test in MATLAB|publisher=MathWorks|accessdate=May 24, 2009}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
Considering normal sampling, and √&amp;#039;&amp;#039;β&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and &amp;#039;&amp;#039;β&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; contours, {{harvtxt|Bowman|Shenton|1975}} noticed that the statistic &amp;#039;&amp;#039;JB&amp;#039;&amp;#039; will be asymptotically &amp;#039;&amp;#039;χ&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;(2)-distributed; however they also noted that “large sample sizes would doubtless be required for the &amp;#039;&amp;#039;χ&amp;#039;&amp;#039;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; approximation to hold”. Bowman and Shelton did not study the properties any further, preferring [[D’Agostino’s K-squared test]].&lt;br /&gt;
&lt;br /&gt;
Around 1979, Anil Bera and [[Carlos Jarque]] while working on their dissertations on regression analysis, have applied the [[Lagrange multiplier principle]] to the [[Pearson distribution|Pearson family of distributions]] to test the normality of unobserved regression residuals and found that the &amp;#039;&amp;#039;JB&amp;#039;&amp;#039; test was asymptotically optimal (although the sample size needed to “reach” the asymptotic level was quite large). In 1980 the authors published a paper ({{harvnb|Jarque|Bera|1980}}), which treated a more advanced case of simultaneously testing the normality, [[homoscedasticity]] and absence of [[autocorrelation]] in the residuals from the [[linear regression model]]. The &amp;#039;&amp;#039;JB&amp;#039;&amp;#039; test was mentioned there as a simpler case. A complete paper about the JB Test was published in the &amp;#039;&amp;#039;International Statistical Review&amp;#039;&amp;#039; in 1987 dealing with both testing the normality of observations and the normality of unobserved regression residuals, and giving finite sample significance points.&lt;br /&gt;
&lt;br /&gt;
==Jarque–Bera test in regression analysis==&lt;br /&gt;
According to Robert Hall, David Lilien, et al. (1995) when using this test along with multiple regression analysis the right estimate is:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
    \mathit{JB} = \frac{n-k}{6} \left( S^2 + \frac14 (K-3)^2 \right)&lt;br /&gt;
  &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;#039;&amp;#039;n&amp;#039;&amp;#039; is the number of observations and &amp;#039;&amp;#039;k&amp;#039;&amp;#039; is the number of regressors when examining residuals to an equation.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&amp;lt;HR&amp;gt;&lt;br /&gt;
{{refbegin}}&lt;br /&gt;
* {{cite journal&lt;br /&gt;
  | first1 = K.O. | last1 = Bowman&lt;br /&gt;
  | first2 = L.R. | last2 = Shenton&lt;br /&gt;
  | title = Omnibus contours for departures from normality based on √&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and &amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;&lt;br /&gt;
  | year = 1975&lt;br /&gt;
  | journal = Biometrika&lt;br /&gt;
  | volume = 62 | issue = 2&lt;br /&gt;
  | pages = 243–250&lt;br /&gt;
  | jstor = 2335355&lt;br /&gt;
  | ref = CITEREFBowmanShenton1975&lt;br /&gt;
  }}&lt;br /&gt;
* {{cite journal&lt;br /&gt;
  | first1 = Carlos M. | last1 = Jarque | authorlink1 = Carlos Jarque&lt;br /&gt;
  | first2 = Anil K. | last2 = Bera&lt;br /&gt;
  | title = Efficient tests for normality, homoscedasticity and serial independence of regression residuals&lt;br /&gt;
  | year = 1980&lt;br /&gt;
  | journal = Economics Letters&lt;br /&gt;
  | volume = 6 | issue = 3&lt;br /&gt;
  | pages = 255–259&lt;br /&gt;
  | doi = 10.1016/0165-1765(80)90024-5&lt;br /&gt;
  | ref = CITEREFJarqueBera1980&lt;br /&gt;
  }}&lt;br /&gt;
* {{cite journal&lt;br /&gt;
  | first1 = Carlos M. | last1 = Jarque | authorlink1 = Carlos Jarque&lt;br /&gt;
  | first2 = Anil K. | last2 = Bera&lt;br /&gt;
  | title = Efficient tests for normality, homoscedasticity and serial independence of regression residuals: Monte Carlo evidence&lt;br /&gt;
  | year = 1981&lt;br /&gt;
  | journal = Economics Letters&lt;br /&gt;
  | volume = 7 | issue = 4&lt;br /&gt;
  | pages = 313–318&lt;br /&gt;
  | doi = 10.1016/0165-1765(81)90035-5&lt;br /&gt;
  | ref = CITEREFJarqueBera1981&lt;br /&gt;
  }}&lt;br /&gt;
* {{cite journal&lt;br /&gt;
  | first1 = Carlos M. | last1 = Jarque | authorlink1 = Carlos Jarque&lt;br /&gt;
  | first2 = Anil K. | last2 = Bera&lt;br /&gt;
  | title = A test for normality of observations and regression residuals&lt;br /&gt;
  | year = 1987&lt;br /&gt;
  | journal = International Statistical Review&lt;br /&gt;
  | volume = 55 | issue = 2&lt;br /&gt;
  | pages = 163–172&lt;br /&gt;
  | jstor = 1403192&lt;br /&gt;
  | ref = CITEREFJarqueBera1987&lt;br /&gt;
  }}&lt;br /&gt;
* {{cite book&lt;br /&gt;
  | first = | last = Judge&lt;br /&gt;
  | coauthors = et al.&lt;br /&gt;
  | title = Introduction and the theory and practice of econometrics&lt;br /&gt;
  | year = 1988&lt;br /&gt;
  | edition = 3rd&lt;br /&gt;
  | pages = 890–892&lt;br /&gt;
  }}&lt;br /&gt;
* {{cite book&lt;br /&gt;
  | first1 = Robert E. | last1 = Hall &lt;br /&gt;
  | first2 = David M. | last2 = Lilien&lt;br /&gt;
  | coauthors = et al.&lt;br /&gt;
  | title = EViews User Guide&lt;br /&gt;
  | year = 1995&lt;br /&gt;
  | pages = 141&lt;br /&gt;
  }}&lt;br /&gt;
{{refend}}&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
* [http://www.alglib.net/statistics/hypothesistesting/jarqueberatest.php ALGLIB] includes implementation of the Jarque–Bera test in C++, C#, Delphi, Visual Basic, etc.&lt;br /&gt;
* [[gretl]] includes an implementation of the Jarque–Bera test&lt;br /&gt;
* [[R (programming language)|R]] includes implementations of the Jarque–Bera test: &amp;#039;&amp;#039;jarque.bera.test&amp;#039;&amp;#039; in package &amp;#039;&amp;#039;tseries&amp;#039;&amp;#039;, for example, and &amp;#039;&amp;#039;jarque.test&amp;#039;&amp;#039; in package &amp;#039;&amp;#039;moments&amp;#039;&amp;#039;.&lt;br /&gt;
* [[Matlab|MATLAB]] includes implementation of the Jarque–Bera test, the function &amp;quot;jbtest&amp;quot;.&lt;br /&gt;
* [[Python (programming language)|Python]] statsmodels includes implementation of the Jarque–Bera test, &amp;quot;statsmodels.stats.stattools.py&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
{{Statistics}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Jarque-Bera test}}&lt;br /&gt;
[[Category:Normality tests]]&lt;/div&gt;</summary>
		<author><name>en&gt;Zen-in</name></author>
	</entry>
</feed>