[R] Is there any Command showing correlation of all variables in a dataset?

2011-03-01 Thread JoonGi
Thanks in advance. I want to derive correlations of variables in a dataset Specifically library(Ecdat) data(Housing) attach(Housing) cor(lotsize, bathrooms) this code results only the correlationship between two variables. But I want to examine all the combinations of variables in this dataset

[R] How to Save R library data into xls or dta format

2011-03-01 Thread JoonGi
Thanks in advance. I'm having a trouble with data saving. I want to run the same data which is in Ecdat library at different statistic programs(excel, stata and matlab) The data I want to use is library(Ecdat) data(Housing) and I want to extract this data our of R as *.dta *.xls formats. So,

Re: [R] After heteroskedasticity correction, how can I get new confidential interval?

2010-12-20 Thread JoonGi
First of all, thanks for your guide! Let me be more specific, here. Using data(Housing) from Ecdat library I ran a regression raw.model<-lprice~llot+lbed+lbath+lsto+factor(driveway)+factor(recroom)+factor(fullbase)+factor(gashw)+factor(airco)+factor(prefarea)+factor(garagepl) coeftest(lm(raw.mo

[R] After heteroskedasticity correction, how can I get new confidential interval?

2010-12-20 Thread JoonGi
I just corrected std.error of my 'model'(Multi Regression). Then how can I get new t and p-values? Isn't there any R command which shows new t and p values? -- View this message in context: http://r.789695.n4.nabble.com/After-heteroskedasticity-correction-how-can-I-get-new-confidential-interva

[R] more than two NA value names in my data

2010-09-30 Thread JoonGi
my data(*.txt) has 1000 observations(numbers with no characters) of 5 variables. quite simple. However, NA values are quite tricky. this observer used more than two names for NA values; "." and "na" and more. 1. If I don't want to manipulate this raw data at all, how can I read this table? (