expected.linear.ll {genpwr} | R Documentation |
Function to Calculate Expected Log Likelihood for a Single Genotype
Description
Calculates the expected log likelihood for a single genotype given the true and estimated mean and standard deviation for the outcome.
Usage
expected.linear.ll(mean_truth, mean_model, sd_y_x_truth, sd_y_x_model)
Arguments
mean_truth |
Mean of the outcome given X(predictors/genotype) under the true model. |
mean_model |
Mean of the outcome given X(predictors/genotype) under the test model. |
sd_y_x_truth |
The standard deviation of Y given X (predictors/genotype) given genotype under the true model. |
sd_y_x_model |
The standard deviation of Y (the outcome) given X (predictors/genotype) under the test model. |
Value
The log likelihood.
Examples
expected.linear.ll(mean_truth = 0, mean_model = 0.03,
sd_y_x_model = 1, sd_y_x_truth = 0.9544108)
[Package genpwr version 1.0.4 Index]