powered by
Sample data based on dataset EuStockMarkets in the datasets package.
A data frame with 1860 rows and 4 variables
Richard Davis richard.davis@cba.com.au
data(mycsv) thismodel=lm(formula=DAX ~ .,data=data) expectedprob=predict(thismodel,data) actualprob=data$DAX residual=actualprob-expectedprob data=cbind(data,expectedprob, actualprob, residual)
Run the code above in your browser using DataLab