Displaying 2 results from an estimated 2 matches for "statwm".
Did you mean:
statm
2010 Sep 05
3
simple ts() object question
Dear Community,
say, I have an annual ts() object sampled from 1960 to 1969 like:
ta<-ts(1:10, start=1960, frequency=1)
How can I extract the value from the year 1965?
I mean, not by:
ta[6]
but by something like:
ta[1965]
where I'm directly referring to the year of the observation?
Thank you in advance!
--
View this message in context:
2010 Jul 20
4
Correct statistical inference for linear regression models without intercept in R
Dear R community,
is there a way to get correct t- and p-values and R squared for linear
regression models specified without an intercept?
example model:
summary(lm(y ~ 0 + x))
This gives too low p-values and too high R squared. Is there a way to
correct it? Or should I specify with intercept to get the correct values?
Thank you in advance!
Wojtek Musial
--
View this message in context: