50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


babsim.hospital (version 11.8.8)

RiskScore: Calculate risk scores

Description

Calculate a risk score based on age and sex of patient for a set of cases.

Usage

RiskScore(cases, par)

Arguments

cases

[object] table of cases, one per row.

par

[list()] parameters of risk model.

Value

Vector of risk scores.

Details

The risk score is calculated according to the following formula: \codeRiskScore=\codeRiskFactorAexp(\codeRiskFactorB\codeage)(1+Imale(\codeRiskMale1) Here the RiskFactorA, RiskFactorB and RiskMale are taken from the parameter list par and the age and sex are taken from the cases .