[R] Logistic regression and R

2009-07-30 Thread Carlos López
Hello everybody :-) I have some data that I want to model with a logistic regression, most of the independent variables are numeric and the only dependent is categorical, I was thinking that I could apply a logistic regression using glm but I wanted to deepen my knowledge of this so I tried

[R] Writing multiple matrices

2008-12-11 Thread Carlos López
Hello all :) I have a for loop where in each cycle I create certain matrix object, let´s say, X, I would like to write it so I use the write.table function but I would like to write as many matrices as cycles, this is, I would like to use a variable, let´s say y, that will be in the for, as

[R] About Pareto distribution

2008-10-27 Thread Carlos López
Hi again :-) I finally was able to fix the program, thank you all very much for your help :-) Now I have a problem and I don´t know if it is possible to solve it with R, I have a data set, and because it is data from salaries I am suspecting it comes from a Pareto distribution, my questions

[R] Problem with script

2008-10-26 Thread Carlos López
Hello :-) I am trying to run the next script, it generates random areas inside a map of the american continent, and then plot it, it´s suppose that every frame gives you the evolution of the program but at some point it stops with the weirdest of the errors I´ve ever seen in R, I don´t even have

[R] Datasets in R

2008-05-29 Thread Carlos López
I´m trying to find datasets that will give me residuals, after applying the lm function, with no normality, non linearity, and heteroscedacity so I can try to exemplify those cases in the linear regression model. Can you give any advice on what datasets would be appropiate? I can´t use the ones