Calculate summary statistics for a sample of mendelian randomization (MR) data.
Details
The summary statistics are calculated for each SNP in the sample and include the following:
beta_g_x: The beta coefficient of the simple linear regression of between the SNPgand the exposurexbeta_se_g_x: The standard error ofbeta_g_xp_value_g_x: The p-value ofbeta_g_xf_statistic_g_x: The F-statistic ofbeta_g_xr2_g_x: The R-squared of the simple linear regression of between the SNPgand the exposurexbeta_g_y: The beta coefficient of the simple linear regression of between the SNPgand the outcomeybeta_se_g_y: The standard error ofbeta_g_yp_value_g_y: The p-value ofbeta_g_yf_statistic_g_y: The F-statistic ofbeta_g_yr2_g_y: The R-squared of the simple linear regression of between the SNPgand the outcomey
