> I am trying to perform quantile regression analysis to analyse my work. 
I
> could install the R package in windows xp. Now I am struggling
> for the next work.I have *marks of students at the university
> examinations*( say response variable Y) and their
> *entrance examination marks* ( Independent one variable   X ).I have 
entered
> data in Excel spread sheet as records.
> 
> I will be thankful If one of you could help me how run the package to 
get
> the estimates , plots and significant tests.. I am a Sri Lankan MPhil
> student at .

1. Save your excel data as a comma separated value (csv) file. 
File -> Save As...

2. Read the data into R
examdata <- read.csv("examdatafile.csv")

3. Install the quantreg package from CRAN
Packages -> Install packages...

4. Read the help page for the analysis function
?rq

5. Run the analysis
model1 <- rq(Y~X, data=examdata)

6. Examine the results
summary(model1)

Regards,
Richie.

Mathematical Sciences Unit
HSL



------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to