Displaying 6 results from an estimated 6 matches similar to: "R^2 in linear regression"
2010 Jan 09
1
Linear regression - R^2
Hello,
I was doing a linear regression with the following formula:
*lm(y~x+0)*, so it passes through the origin. But when I called the summary
of the regression i saw that R squared is abnormally high (it's a lot lower
in other programs such as SigmaPlot and MS Excel).The manual explained the
cause of the difference (because of the different computing method), but
what should I do to get the
2005 Jan 21
6
Avoiding a Loop?
Dear R-Helpers,
I have a matrix where the first column is known. The second column is
the result of multiplying this first column with a constant "const". The
third column is the result of multiplying the second column with
"const".....
So far, I did it like this (as a simplified example):
nr.of.columns <- 4
myconstant <- 27.5
mymatrix <- matrix(numeric(0), nrow=5,
2001 Sep 24
1
Printing Central European characters
Dear R-users,
I have problems with printing Central European (CE) characters
(e.g. {\H o} and {\H u}) in graphics made by R.
After executing the following code I can see the CE characters with gv
on my screen, but I cannot print them on a postscript printer.
> postscript(file="proba.ps",enc="ISOLatin2.enc")
> plot(0:15,0:15,type="n")
> grid(15,15,lty=1)
2007 Jul 24
4
values from a linear model
Dear R users,
how can I extrapolate values listed in the summary of an lm model but not
directly available between object values such as the the standard errors of
the calculated parameters?
for example I got a model:
mod <- lm(Crd ~ 1 + Week, data=data)
and its summary:
> summary(mod)
Call:
lm(formula = Crd ~ 1 + Week, data = data, model = TRUE, y = TRUE)
Residuals:
Min
2011 Feb 18
3
lm without intercept
Hi,
I am not a statistics expert, so I have this question. A linear model
gives me the following summary:
Call:
lm(formula = N ~ N_alt)
Residuals:
Min 1Q Median 3Q Max
-110.30 -35.80 -22.77 38.07 122.76
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 13.5177 229.0764 0.059 0.9535
N_alt 0.2832 0.1501 1.886 0.0739
2011 Jan 05
3
Assumptions for ANOVA: the right way to check the normality
Dear all,
I would like to know which is the right way to check the normality assumption
for performing ANOVA. How do you check normality for the following example?
I did an experiment where people had to evaluate on a 7 point scale, the degree
of realism of some stimuli presented in 2 conditions.
The problem is that if I check normality with the Shapiro test I get that the
data are not