Simulation

sim_Rs()

Simulate data (R, R0, R1, R2, R3 and R4)

get_prob()

Compute sucess probabilities (tau_j's)

Estimation

conditional_mle()

Compute MLE based on the full information R1, R2, R3 and R4.

marginal_mle()

Compute (marginalized) MLE based on the partial information R1 and R3.

moment_estimator()

Compute moment-based estimator.

survey_mle()

Compute proportion in the survey sample (standard estimator)

update_prevalence()

Update prevalence using new case prevalence rates

Data

covid19_austria

COVID-19 Data from Statistics Austria

Print

print(<cpreval>)

Print estimation results

print(<cpreval_sim>)

Print (simulated) sample