pred: Prediction Function for Dissertation

Description Usage Arguments Author(s)

View source: R/pred.R

Description

This function will run the prediction for my dissertation. The goal is to establish prediction accuracy for each of the models. So, we'll need to generat a design matrix, generate some data, have a predicted value based on the design matrix, have an actual value, then also have an actual group vs a predicted group for each of the models...

I want to matrix multiple all of the things, then use logistic to determine which one I should actually use...

Usage

1
pred(sim_dat)

Arguments

sim_dat

Data from the simulation function.

n

The sample size to use. This should be 20% of the actual data used in the simulation.

c

The cutoff to use. This should match that used in the simulation.

Author(s)

Michael Floren


flor3652/BigD documentation built on Aug. 3, 2019, 7:27 p.m.