Quantcast
Channel: Codemiles.com Programming Forums - All Topics
Viewing all articles
Browse latest Browse all 36

Building Quantile regression in R

$
0
0
Building Quantile regression in R Example.
Code: 
require(foreign)
require(ggplot2)
require(MASS)
require(boot)
# data for analysis model.
data <- read.csv("Model14.csv",head=TRUE );
# attach data
attach(data)
# Define variables
Y <- cbind(dupdifftriage3)
X <- cbind(descriptiontextcount, titletextcount, priority_val, comment_count, cc_count,repoter_rep,bug_severity_num)
z <- cbind(titletextcount)
library(quantreg)

# Quantile regression
quantreg10 <- rq(Y ~ X, data=data,

...

Statistics : Posted by codemiles • on Tue Dec 16, 2014 6:36 am • Replies 1 • Views 6768

Viewing all articles
Browse latest Browse all 36

Trending Articles