-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to use the exact measurement values in PLP? #459
Comments
Hi @arani11 , This depends on how you specify your plpData <- getPlpData(
databaseDetails = myDatabaseDetails,
covariateSettings = FeatureExtraction::createCovariateSettings(
useDemographicsAge = TRUE,
useDemographicsGender = TRUE,
useMeasurementValueLongTerm = TRUE
),
restrictPlpDataSettings = createRestrictPlpDataSettings()) Or alternatively if you're using modelDesign <- createModelDesign(
targetId = 1,
outcomeId = 2,
restrictPlpDataSettings = createRestrictPlpDataSettings(),
populationSettings = popSettings,
covariateSettings = FeatureExtraction::createCovariateSettings(
useDemographicsAge = TRUE,
useDemographicsGender = TRUE,
useMeasurementValueLongTerm = TRUE
),
preprocessSettings = createPreprocessSettings(),
splitSettings = createDefaultSplitSetting(splitSeed = 42),
modelSettings = setLassoLogisticRegression(seed=42)
) Here I use Be careful though, missing measurement values will be treated as zero. You would need to use some kind of imputation to handle that which is possible using the |
There will be more imputation methods added to 6.4. Tracked with #461. Closing this issue in favour of that one. |
Thanks!
…________________________________
From: Egill Axfjord Fridgeirsson ***@***.***>
Sent: Monday, December 9, 2024 9:14 AM
To: OHDSI/PatientLevelPrediction ***@***.***>
Cc: Arani Vivekanantham ***@***.***>; Mention ***@***.***>
Subject: Re: [OHDSI/PatientLevelPrediction] Is there a way to use the exact measurement values in PLP? (Issue #459)
There will be more imputation methods added to 6.4. Tracked with #461<#461>. Closing this issue in favour of that one.
—
Reply to this email directly, view it on GitHub<#459 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AZ5I3PPS4VDFVPUCBXPPPAT2EVNQXAVCNFSM6AAAAABI67XH4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRXGM2TAMBSG4>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
We used the PLP package to develop a model and weight came out as the top predictor. However, our understanding is that in the PLP this is used as a binary variable (yes/ no) for whether weight was recorded or not. We are interested in using weight as a continuous variable for our prediction model using the PLP package and wondered if there was a way to do this?
The text was updated successfully, but these errors were encountered: