1526 search results for "regression"

Modelling with R: part 3

October 5, 2011
By

The previous posts, part 1 and part 2, detailed the procedure to successfully import the data and transform the data so that we can extract some useful information from them. Now it's time to get our hands dirty with some predictive modelling. The dependent variable here is a binary variable taking values "0" and "1", indicating whether the customer...

Read more »

Drawing maps using shapefiles and R

October 4, 2011
By
Drawing maps using shapefiles and R

Sometimes a student may use a self explained chart, instead of a boring table for showing outcomes in a research paper. Yet, graphs are efficient in showing the broad picture of an issue and also for present results. In political science, you can getting into this topic reading Kastellec and Leoni (2007), for instance. I

Read more »

GEE using Stata vs. R

October 4, 2011
By

I am running GEE logistic regression model for my fetal loss paper. As usual, I compare results between Stata and R and make sure they are consistent. To my surprise, the models assuming independent correlation structure give similar results but the mo...

Read more »

Bayesian Computation with R – Albert (2009)

October 4, 2011
By
Bayesian Computation with R – Albert (2009)

Title: Bayesian Computation with RAuthor(s): Jim AlbertPublisher/Date: Springer/2009Statistics level: High Programming level: Low Overall recommendation: Recommended Bayesian Computation with R focuses primarily on providing the reader with a basic understanding of Bayesian thinking and the relevant analytic tools included in R. It does not explore either of those areas in detail, though it does hit The post Bayesian...

Read more »

permute: a package for generating restricted permutations

October 4, 2011
By
permute: a package for generating restricted permutations

Multivariate ordination methods are commonly used in ecology to investigate patterns in species composition in space or time. Constrained ordination methods such as redundancy analysis (RDA) and canonical correspondence analysis (CCA) are effectively just multiple regressions, but we lack the … Continue reading →

Read more »

Example 9.8: New stuff in SAS 9.3– Bayesian random effects models in Proc MCMC

October 4, 2011
By
Example 9.8: New stuff in SAS 9.3– Bayesian random effects models in Proc MCMC

Rounding off our reports on major new developments in SAS 9.3, today we'll talk about proc mcmc and the random statement.Stand-alone packages for fitting very general Bayesian models using Markov chain Monte Carlo (MCMC) methods have been available for...

Read more »

permute: a package for generating restricted permutations

October 4, 2011
By
permute: a package for generating restricted permutations

Multivariate ordination methods are commonly used in ecology to investigate patterns in species composition in space or time. Constrained ordination methods such as redundancy analysis (RDA) and canonical correspondence analysis (CCA) are effectively just multiple regressions, but we lack the parametric theory to adequately test the statistical significance of terms in the model. Other techniques likewise lack the appropriate...

Read more »

OLS beta VS. Robust beta

October 3, 2011
By
OLS beta VS. Robust beta

In financial context, is suppose to reflect the relation between a stock and the general market. A broad based index such as the S&P 500 is often taken as proxy for the general market. The , without getting into too … Continue reading →

Read more »

Model Exploration using K-sample Plot in Big Data

October 3, 2011
By
Model Exploration using K-sample Plot in Big Data

Generically, error rate of predicting binary variable by a certain model becomes plateau increasing sample size. When the model fits training data , the error rate gains from 0 to true error. And when the model fits test data, the error rate decreases ...

Read more »

Bayesian Models with Censored Data: A comparison of OLS, tobit and bayesian models

September 17, 2011
By
Bayesian Models with Censored Data: A comparison of OLS, tobit and bayesian models

The following R code models a censored dependent variable (in this case academic aptitude) using a traditional least squares, tobit, and Bayesian approaches.  As depicted below, the OLS estimates (blue) for censored data are inconsistent and will ...

Read more »