Created
March 6, 2015 18:36
-
-
Save daynebatten/5b4096efc9ba7428b294 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Load the pseudo library | |
| library(pseudo) | |
| # Read in the data | |
| netlixx_pseudo <- read.csv('C:/Users/dbatten/Desktop/NetLixxCox.csv') | |
| # Create pseudo observations using 365-day RMST | |
| netlixx_pseudo$pseudos <- pseudomean(netlixx_pseudo$followtime, netlixx_pseudo$churn, 365) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment