output_samples.Rd
This function processes raw economic and risk data, fits distributions to the data, generates samples, and outputs the results to a specified file.
output_samples(econ_raw, risks_raw, file.name)
A list containing sampled outcomes for risks, QALYs, and costs.
The function performs the following steps:
Fits triangular distributions to the risk, QALY, and cost data.
Generates samples for each outcome using the fitted distributions.
Outputs the sampled outcomes to the specified file.