powered by
Calculates the expected log likelihood for a single genotype given the true and estimated mean and standard deviation for the outcome.
expected.linear.ll(mean_truth, mean_model, sd_y_x_truth, sd_y_x_model)
Mean of the outcome given X(predictors/genotype) under the true model.
Mean of the outcome given X(predictors/genotype) under the test model.
The standard deviation of Y given X (predictors/genotype) given genotype under the true model.
The standard deviation of Y (the outcome) given X (predictors/genotype) under the test model.
The log likelihood.
# NOT RUN { expected.linear.ll(mean_truth = 0, mean_model = 0.03, sd_y_x_model = 1, sd_y_x_truth = 0.9544108) # }
Run the code above in your browser using DataLab