April 1st, 2008 by admin
Posted in Research | No Comments »
April 1st, 2008 by admin
Newton-Raphson method, also called the Newton’s method, is a root-finding algorithm that uses the Taylor series of a function
in the vicinity of a suspected root. Given an initial guess of the root
, the Taylor series of
about the point
is given by

If
is the root, then
. Thus we can get
.
By letting
, we can calculate a new
, and so on. At the nth step, we can get
.
Newton-Raphson can be used to obtain maximum likelihood estimation of a statistical model. For MLE, after we get the log-likelihood function, we take the first derivative and set it to 0. In this case, it likes to find the root of a function. Thus, Newton-Raphson method can be used directly.
Posted in Research | No Comments »
April 1st, 2008 by admin
In statistics, linear regression is a method of estimating the conditional expected value of one variable y given the values of some other variable or variables x.
A linear regression model is typically stated in the form
.
Usually, we assume x is determinstic. Conditionally on x,
.
However,
.
This can be obtained using the following formula:
var(y)=var[E(y|x)] + E[var(y|x)].
, thus
.
, thus
.
R square, which represents how much variance in y can be explained by x, is equal to
.
Adjusted R square =
.
R sqaure sometimes is used to judge how well x can predict y. Big R suqare means that x is a good predictor of y. Small R square means we may need the other variables to predict y well.
R square does nothing with the model fit. For the simple regression, the F-test is the same with t-test of
. If this kind of test is significant, there exists linear relationship between y and x. Whether F/t-test is significant or not is not related to the magnitude of R square. However, if R square is very small, it usually means x is not a good predictor of y.
A related discussion of R square can be found at http://www.statisticalexperts.com/jianxu/2006/10/08/r2-confusion/.
Any comments are welcome.
Posted in Research | No Comments »
April 1st, 2008 by admin
In probability theory, the law of total variance (conditional variance formula) states that if X and Y are random variables on the same probability space, and the variance of X is finite, then
var(Y)=var[E(Y|X)] + E[var(Y|X)]
This can be proved easily.
var(Y) = E(Y2) − E(Y)2
= E(E(Y2|X)) − E(E(Y|X))2
= E(var(Y|X)) + E(E(Y|X)2) − E(E(Y|X))2
= E(var(Y|X)) + var(E(Y|X)).
The first term is the unexplained component of the variance; the second is the explained component of the variance. The conditional expected value E( X | Y ) is a random variable in its own right, whose value depends on the value of Y. Notice that the conditional expected value of X given the event Y = y is a function of y.
This formula can be applied widely. An example to see: http://www.statisticalexperts.com/statexp/2006/10/10/simple-linear-regression/
Posted in Research | No Comments »
April 1st, 2008 by admin
Posted in Research | 1 Comment »