Getting Started
This is a command developed for the calculation of PRISM III & PRISM IV scores.
Installation Instructions
Using net
Open Stata. Run the following command:
Stata | |
---|---|
Using ssc
Open Stata. Run the following command:
Stata | |
---|---|
Manually
Download all files from the /src subfolder. Copy them into your adopath. If you're not sure where that is, run the following:
Stata | |
---|---|
The output will look similar to this: (your directories will differ depending on your OS)
Stata | |
---|---|
Open the directory listed under (PLUS). Copy the files into the folder. For extra style-points, find the p
subfolder, and copy the files there.
Usage Instructions
For more information about PRISM III & PRISM IV scores see the following references.1,2 There are two main ways of running this command.
Stata dialog
Launch the dialog with db prismscore
. Alternatively, add this line to your profile.do file:
Stata | |
---|---|
If you do not already have one, open a dofile editor, copy the line above, and save it as profile.do in your personal directory. See Manual Installation instructions; your personal directory is folder (PERSONAL)
Command-Line Interface
Stata | |
---|---|
See help prismscore
or Documentation for more information.
Important Remarks
The command assumes your data is clean. While there are data validation checks built in, they cannot account for every situation. The quality of the calculation depends on the quality of the underlying data. You should explore your data beforehand and try to correct any errors.
The command supports only one measurement scale per variable. If, for example, you have temperature data that's both in °C and °F, you will have to convert °F -> °C or vice-versa.
As detailed in the documentation file, you can change the coefficients used for the logistic function.
Citation
Citation
Azamfirei, Razvan; Mennie, Colleen; Fackler, James; Kudchadkar, Sapna R. Development of a Stata Command for Pediatric Risk of Mortality Calculation. Pediatric Critical Care Medicine 24(3):p e162-e163, March 2023. | DOI: 10.1097/PCC.0000000000003149
License
Copyright 2022 Razvan Azamfirei
Licensed under the Apache License, Version 2.0 (the"License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.