1537 search results for "Regression"

%EXPORT_TO_R SAS Macro Code

May 6, 2011
By
%EXPORT_TO_R SAS Macro Code

The SAS Analysis blog post 'A macro calls R in SAS for paneled 3d plotting' influenced my macro coding.   The following macro call: %EXPORT_TO_R(DATA = YOURDATA)  exports the SAS data set 'YOURDATA' as .csv and produces the R code for se...

Read more »

Whassup with glm()?

May 4, 2011
By

We're having problem with starting values in glm(). A very simple logistic regression with just an intercept with a very simple starting value (beta=5) blows up....

Read more »

bigkmeans also works well for ordinary matrix objects: The biganalytics package

May 4, 2011
By
bigkmeans also works well for ordinary matrix objects: The biganalytics package

The bigmemory is an excellent package for handling big matrix in R. There are several sister packages provided by "The Bigmemory Project": biganalytics for analysis, bigtabulate for tabulation, bigalgebra for linear algebra functionality, synchronicity...

Read more »

bigkmeans also works well for ordinary matrix objects: The biganalytics package

May 4, 2011
By
bigkmeans also works well for ordinary matrix objects: The biganalytics package

The bigmemory is an excellent package for handling big matrix in R. There are several sister packages provided by "The Bigmemory Project": biganalytics for analysis, bigtabulate for tabulation, bigalgebra for linear algebra functionality, synchronicity for synchronization via mutexes and interprocess communication and message passing.biganalytics provides a few functions for analysis: linear regression model, generalized linear regression model, and...

Read more »

Putting Robust Standard Errors into LaTeX Tables: An Extension of mtable

May 3, 2011
By
Putting Robust Standard Errors into LaTeX Tables: An Extension of mtable

I recently discovered the mtable() command in the memisc library and its use with toLatex() to produce nice summary output for lm and glm objects in a nicely formatted table like this:Once you have your linear model objects, all you need is one command...

Read more »

Putting Robust Standard Errors into LaTeX Tables: An Extension of mtable

May 3, 2011
By
Putting Robust Standard Errors into LaTeX Tables: An Extension of mtable

I recently discovered the mtable() command in the memisc library and its use with toLatex() to produce nice summary output for lm and glm objects in a nicely formatted table like this:Once you have your linear model objects, all you need is one command...

Read more »

Kaggle Competition Walkthrough: Introduction

May 3, 2011
By
Kaggle Competition Walkthrough: Introduction

Kaggle is a site for participating in predictive analytics competitions. It is also a great resource for learning how to build powerful predictive models, and the Overfitting competition provides a good introduction to the common tools used by a predic...

Read more »

Ecological SEMs and Composite Variables: What, Why, and How

May 2, 2011
By
Ecological SEMs and Composite Variables: What, Why, and How

I’m a HUGE fan of Structural Equation Modeling. Heck, I’ve even begun teaching short SEM workshops. (seriously, if you want, email me and we’ll talk). For those of you unfamiliar with the technique, it’s awesome for three main reasons. It’s a method of teasing apart direct and indirect interactions in your data. It allows you

Read more »

R/Finance conference in Chicago – April 29, 2011 to April 30, 2011

May 2, 2011
By

This was my first year to attend the R/Finance conference that focuses on the use R programming in applied finance.  I was unable to get out there until mid-morning on Friday, so I missed Jeff Ryan’s tutorial on Automated Trading … Continue reading →

Read more »

Forming Formulas

April 29, 2011
By
Forming Formulas

One of the first functions a new R user learns how to use is the lm() command, which involves stating the model formula.lm(y~x1+x2, data=mydata)After a while, this just becomes a natural way to say "I want a regression of y on x1 and x2 using mydata." ...

Read more »