Stacked Regression and Poststratification

cleanDataGBM | Clean GBM Data |

cleanDataLASSO | Clean LASSO data |

education | Marginal Frequency Distribution |

getHillClimbWeights | Hill Climbing Algorithm |

getStackWeights | Generate Stack Weights |

getSyntheticPSFrame | Generate a synthetic poststratification frame |

LogLossBinary | Compute Log Loss |

poststratify | Generate poststratified estimates |

race | Marginal Frequency Distribution |

regress.func | Quadratic Programming Algorithm |

sex | Marginal Frequency Distribution |

vignetteData | Individual-level Public Opinion and Demographics |

vignettePSFrame | Poststratification Frame |

vignetteTruth | True Unit-Level Means |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.