instruction
stringlengths
9
38.7k
My understanding about likelihood, given some reading, is that it is how likely we are to observe the actual data given a certain parameter or parameter values $\theta$. Like with the coin toss analogy, say you have $p(h) = 0.5$ be the probability you get a heads and you got 3 heads in 6 tosses. Then, plotting the like...
I am wanting to fit a logistic regression where some explanatory variables have null values. The nulls are meaningful - for instance, a continuous explanatory variable capturing 'time since last treatment', where for some individuals, they would have no prior treatment. I have a few explanatory variables like this. I r...
https://www.cs.cmu.edu/~lwehbe/10701_S19/files/Lecture_3.pdf At the end of these notes, there is a short paragraph. Let $x$ be a test point. Let $x_1, \ldots, x_K$ be its $K$ nearest neighbors. Let $v_x$ be a sphere around $x$ containing its $K$ nearest neighbors. Assuming $x$ is an instance of a random variable $X$ w...
Given n samples from a normally-distributed variable X, we estimate variance as $s^2=\frac{1}{n-1}\sum{(x_i - \bar{x})^2}$. We can also get a confidence interval for such a variance estimate as: $$CI_\alpha = [\frac{(n-1)s^2}{\chi^2_{\frac{\alpha}{2},n-1}},\frac{(n-1)s^2}{\chi^2_{1-\frac{\alpha}{2},n-1}}]$$ Now suppos...
In the Wikipedia article on Brier score, there is a claim that the "refinement" in the two-component decomposition of Brier score is related to the area under the receiver-operator characteristic curve (itself equal to Harrell's concordence index in the case of a binary outcome). What is that relationship? A simlation ...
I am in the process of fitting a linear mixed model to artificial data generated using simr::makeLmer(), with the goal of conducting power analysis for a study which has not occurred yet. This requires me to set appropriate parameter values for all fixed and random effects I want to estimate. Let's say I want to fit th...
I performed an experiment where I shocked fish eggs at different times prior to first cellular cleavage, this was to create tetraploid fish larvae. I have a control group and then 9 treatments (60, 65, 70, 75, 80, 85, 90, 95, and 100% of the cellular cleavage). All treatment groups were conducted in triplicate, a total...
Let $X$ be a real-valued random variable that is nonzero (that is, not identically zero). For any positive real number $p$ such that $\mathbb{E} |X|^p<\infty,$ define \begin{eqnarray} I_p(X)=\frac{1}{2}\frac{\mathbb{E} |X-X'|^p}{\mathbb{E} |X|^p}, \\ \end{eqnarray} where $X'$ is an independent copy of $X$ and $...
In the chapter about nonuniform learning in the book "Understanding Machine Learning, S. Ben David et al." (its free online version here), the authors wrote: if we commit to any hypothesis before seeing the data, then we are guaranteed a rather small estimation error term $$ L_\mathcal{D}(h)\le L_S(h) + \sqrt{\frac{lo...
I have a dataset of football (soccer) data, where for each player in a given season, I have the (fantasy football) points scored in a particular match, the opposition attacking and defensive strength for that match, and a number of other variables. For example: I want to predict the points scored by a particular playe...
I'm trying to make a multivariate time series forecast using endogenous variables. My features show a lot of spikes (noise), and as I was researching some steps to handle it, I found moving average smoothing to be an option. But I have a question. If we use MA to smooth out the noise and build a time series model, then...
I've just read this remark from Frank Harrell: AHRQ-sponsored research I did on large medical outcomes datasets in the 1990s with the amazing University of Nevada Reno physician-statistician Phil Goodman, whom we lost at an all-too-early age, demonstrated that important non-additive effects are rare when predicting pa...
Assume we have the following model: $y = \beta_0 + \alpha_1 * x_1 ^{\beta_1} + \alpha_2 * x_2^{\beta_2} + \alpha_3 * x_1^{\beta_1} * x_2^{\beta_2}$ where as we have the following priors for our IV's $\beta_1 \sim Beta(1, 1), \beta_2 \sim Beta(1, 1)$ thus $0 <= \beta <= 1$ I wonder how I can deal with the multicollinear...
In his very helpful online book on structural equation modeling, Jon Lefcheck writes the following concerning d-separation tests for SEMs: Once the model is fit, statistical independence is assessed with a t-, F-, or other test. If the resulting P-value is >0.05, then we fail to reject the null hypothesis that the two...
One hundred people were recruited in two sessions and randomly assigned to one of two groups. Some information about the design and analysis: In Session 1, participants were given gum to chew whilst doing a series of tasks to complete. In Session 2, participants were not given gum to chew and did the same tasks in th...
I would like to investigate the effect of a drug on survival with Cox regression. The drug can be administered either once or twice. In the univariate Cox regression, I see that a shorter time interval between the two drug administrations has an effect. I would also like to examine this effect in the multivariable Cox ...
What is the probability of the following: $P\left(Z_j>\frac{\epsilon}{a_j*R}\left(\sum^{M}_{m=j+1} ~ a_m*R*X_m+1\right)\right)$ where $Z_j$ and $X_m$ are independent and identically distributed random variables, where they are continuous random variables that take values from 0 to infinity. having the following CDF: $F...
I have a production process, which produces one or more goods on a certain day. For this example, assume the weight of the produced good is consistenlty measured. However, the operators can ofcourse differ on a day-to-day basis. I want to establish control limits for this production process based on the weight. However...
This is a very basic question. I am trying to understand how a BVAR model works. One thing I dont get is why we are using a burn-in period and what we are making "draws" from. I simply can not find any explanation of these concepts. Why are we making draws? What are we drawing from? What is a burn-in period? Where can ...
I am trying to avoid large amounts of type-1 errors in the evaluation of multiple hypotheses within the same online A/B test. Currently, features are tested across different platforms, with several evaluation metrics each, where every distinct hypothesis is evaluated daily. I already employ sequential testing/alpha spe...
I am interested in the effect of certain interventions $T$ on my value of interest $Y$, my model is, $$Y = \tau f(T, X, Z) + g(X, Z), $$ where $f(T, X, Z) = T \times X + T \times Z$ , that is all the pairwise interaction of $T$ with the features $X$ and $Z$. The feature $Z$ is some function of $X$s, that is exist $m(X)...
I have an autoencoder model with 5 layers in encoding and 5 layers in the decoding section. I am using this model for signal processing the problem is that it is making the signal way more smooth that I need it to be, losing some important information. I have tried increasing the number of layers in the encoding and de...
In this experiment, a machine is used to compare the wear resistance of 4 different types of rubber-coated fabric (variable mat coded A, B, C and D). To do this, the machine is run 4 times (variable run, values 1,2,3,4 - these are labels not numbers). The machine has 4 different (independent) surfaces that mechanically...
I am working on a quasi-experimental study to compare an interventional and control arm. I have generated inverse-probability weights (IPW) and weighted the population (N=300) when estimating effect of interest. The study is also interested to look at a subgroup of diabetic patients (N=50) within the weighted populatio...
Suppose I have some samples $x_1, \ldots, x_n$ from $\mathcal{N}(\mu, 1)$ for unknown $\mu$. Then the maximum likelihood estimate for $\mu$ is just $\overline x = \frac1n \sum x_i$. Ideally, we can find a proper prior for $\mu$ such that after Bayesian update on all samples, the posterior density at $\overline x$ is th...
I'm uncertain about where to post this question. I'm currently working with geotechnical data (soil parameters) and aiming to obtain realistic and safer parameter values. To achieve this goal, I've started developing a Bayesian framework for my parameters using PyMC. However, for practical purposes, it might be challen...
Assuming we have a regression task (1D-output, values between 0.0 and 1.0) with 100 input dimensions and a classical MLP with one hidden layer. When given 10000 training examples, a network with, for example, 50 neurons in the hidden layer has around 5000 trainable parameters and might overfit. To avoid this, two (out ...
So the Cramer-Rao bound gives us a lower bound on the variance of an estimator, now if the estimator is unbiased then we have a bound on the mean square error. While I can see the utility of the bound for unbiased estimators, i.e., we have a lower bound on the squared error from the parameter we are trying to estimate,...
The German Wikipedia gives the following example for events that are all pairwise independent, but not jointly independent: From four paper slips containing the numbers 112, 121, 211, and 222, one slip is randomly drawn. Consider the following events: $$A_i = \mbox{"1 is at the $i$-th position"}\quad\mbox{ for }i\in\{1...
I have run this binomial GLMM: m17 <- glmer(Attendance ~ Day + Sex + (1|AgeClass) + (1|Year) + (1|Plastic), data = test2, family = binomial(link = "logit")) This is the summary output of the model: Generalized linear mixed model fit by maximum likelihood (Laplace Approximation) [glmerMod] Family: binomial ( logit ...
Harrell's Regression Modelling Strategies suggests that the number of predictors should not exceed $m/10$, $m/15$ or $m/20$.* For logistic regression $m$ is $\textrm{min}(n_1, n_2)$, where $n_1$ and $n_2$ are the numbers in the two categories you are predicting. (E.g. number of deaths, number of survivals.) If you are ...
Suppouse I have a data set of the form $p = 200$ and $N = 35$. I am interesting in the multiple linear regression model train, for this reason I need somehow simplify my data. I decided to use two methods: PCA and Laplacian Eigenmap. I tried to reduce the dimension to $p \in [1,\cdots 28]$ ($28$ because $7$ other point...
If I'm running a multivariate OLS regression and look at the t-stats of coefficients, is it the case that the coefficients with smaller t-stats are shrunk relatively more if I were to run the same terms with a Ridge regression? Is there a relationship between the t-stat from OLS and the magnitude of shrinkage from the ...
I'm working on a final project and need to estimate a multilevel logistic model for analyzing dropout rates in higher education in a specific region. The model has three levels, where intercepts vary across courses and institutions. I'm using the lme4 package and the glmer function. I understand the results for fixed e...
I have a repeated measure design and I want to calculate the power to detect a future hypothetical % decline in a mean, but found multiple versions of this calculation - each involve something called an non-centrality parameter (ncp). The 3 equations I found yield different results for this parameter and I'm not sure w...
I am very confused by this because when I watch videos or read about MLE with linear regression it seems to be commonly assumed that $X$ is fixed or that if it is random we don't care for the purposes of estimating $Y$ using $X\beta$, as $X$ is assumed to be already known. Assuming I have understood that reasoning prop...
Let a dataset $\mathcal{D}$ be sampled according to $F_{\mathcal{D}}$. My question is, suppose I create bootstrapped samples from $\mathcal{D}$. That is, create $\mathcal{D}_1, \ldots, \mathcal{D}_M$ using sampling with replacement. Can I consider $\mathcal{D}_1, \ldots, \mathcal{D}_M$ as coming from the same distribut...
I´m trying to meta-analyze odds ratios from logistic regressions; some of which log-transformed the independent variable first. (i.e. some studies present an OR per +1 in the independent variable, and others present OR per b% increase in the independent variable, where b is the base of the logtransformation). I know t...
I have four categorical groups (A, B, C, D) each with one mean representing a numerical, skewed variable. The data structure is as follows: Rows: 4 Columns: 2 $ complexity <dbl> 26.64353107, -57.49406460, -40.99757998, 71.84811350 $ CEFR <fct> A1, A2, B1, B2 Problem: Unfortunately, the full data points per group...
I set up an ANOVA to test for a 2-way interaction. However, for my hypothesis I would need to test whether the levels A and B of facor 1 are different for each level of factor 2. In a frequentist analysis, I would opt for a Tukey post-hoc test to check for these differences, but I do not know how to do it for a Bayesia...
I have two "identical" vectors with the same length in R, x and y. Here is what they look like on my screen: When I run: plot(ecdf(x), xlim = range(0.98,1), col = "blue") plot(ecdf(y), add = TRUE, lty = "dashed", col = "red") I get: Also, the ks.test produces: The D value should be 0, ...
I have a dataset test_data that measures mortality in response to dosage of a pesticide. I used a probit model that evaluates the efficacy of a single pesticide. Where we would want to determine, for example, the median lethal dosage at of pesticide A at 3 days. The model would be as follows, x=log10(dose) and y=mortal...
So I have 4 raters who scored the subjects in the study with a nominal score like: "Present", "maybe", and "absent". I made pairs of the raters and evaluated their inter-rater reliability using Gwet's ac1 coefficient. The pairs were: Rater A and B Rater A and C Rater A and D Rater B and C Rater B and D Rater C and D ...
I am working with the following dataset. (I attached a screenshot of some of my data): Data name is HTO and has the following variables $x$ and $y$, pre- and post-test, and the delta ($\Delta$) values for both $x$, $y$ (difference between $x$ and $y$). A multiple regression analysis showed that $\Delta y$ can be sign...
I am a beginner to data science. I found this dataset that covers natural disaster incidents in Afghanistan from 2016 - present. Here are the 13 columns: REGION (South West, North, etc), PROV_CODE (Province code), PROV_NAME, DIST_CODE (district code), DIST_NAME, INC_DATE (Incident date), INC_TYPE (Incidence type), Pers...
I've consulted a few references, including this online book, and I've got a good grasp on using double machine learning to estimate ATE after debiasing/denoising the treatment variable (T) and the target variable of interest (y). In a nutshell, some ML algorithm uses a set of nuisance covariates to predict both T and y...
I am not asking about how linear regression is derived. I am asking why oftentimes linear regression is the most useful to predict data. I understand that there are different types of regression, but what conditions must data satisfy in order for it to be represented by a line? There is always a hypothetical line that ...
I am trying to simulate data using parameters from a glmer() model output. The model, which comes from a published paper, is as follows: DV ~ 1 + group* sex *verb type + trial number + (1 |participant) + (1 | stimulus). All three IVs (group, sex and verb type) comprise 2 levels and are deviation coded so that, for inst...
In Previous years we have reported on mean satisfaction for customer satisfaction. Previous years have been calculated on a 5 point scale. We have moved to T2B satisfaction ratings with the scale now 1-10. (Satisfied and Very Satisfied representing the top 2 boxes). In order to show trending, I need to know how to c...
I am training a simple RNN model in keras to predict a time series. The time series I am considering is just a sine function $$ f(t) = \sin \left(\frac{3}{10}t\right) $$ The task to solve is the following: Given a timeseries of 90 time steps, predict the next 10 time steps. I am generating my training set by sampling...
I'm trying to implement example from a classic AI paper named "Learning representations by back-propagating errors" by Hinton et al. Example aims at training network able to predict third term in triples of (person_0, relationship, person_1) across small artificial dataset. Neural net consists of 5 FC layers with sigmo...
Consider these two approaches to evaluating a classifiers performance: Choose a metric that summarizes the confusion matrix at a pre-determined decision threshold. Common suggestions seems to be Fbeta score for a model where True Negatives are not of great importance and Matthews correlation coefficient if True Negati...
Continuing this question, I want to ask if its possible to have a multivariate random distribution having simultaneously all its random variables reverse correlated. I think it is impossible, because when a pair of distribution is reverse correlated the third distribution will be correlated with one of the two and reve...
I've implemented the gradient descent method for finding roots of a system of nonlinear equations and I am wondering how the residual is determined? Is the residual simply the Euclidean norm (2-norm) which is norm(F,2)? I am trying to plot the residual to see the changes over time but I am quite confused about the term...
I would assume that a perfectly linear time series would exhibit trend-stationarity. This is not what I find when I use run this test in both Python and R. The KPSS test for stationarity around a trend suggests that the perfectly linear relationship is not stationary. Can someone please help me explain what I am missin...
Quick question (hopefully)... If you have a correlation of -0.256 with a 99% confidence interval of -0.541 to 0.185, OR, a correlation of -0.336 with a 99% CI of -0.597 to 0.125... That essentially translates to a non-significant correlation, right? At least, not at the p < 0.01 level... Tell me if I'm getting this wr...
I want to know what the proper procedure is for incorporating sampling weights into a regression. I am running a spatial regression using survey data in R. I'm using the function lagsarlm() in the spatialreg package. I'm just unsure of how to incorporate sampling weights, or whether it's even appropriate to do so. I no...
I have two product designs and I want to see if there is a significant difference between which people like which design the best. I did a survey where I showed a photo of each design and asked questions like: Which one looks better overall? Which design logo do you prefer? Which color scheme do you prefer? So that I...
Consider a dose response study where there are four active treatments (from the highest dose and lowest dose) and also a control. One goal is to test the hypothesis that treatments are more effective than the control (mostly interested in the higher doses vs control). Another goal is the evaluate the dose response rela...
I want to compare scores before and after an experiment. However, the samples before the experiment consist of individual scores, while the samples after the experiment are composed of groups of two individuals, resulting in group scores. In other words, there are twice as many samples before the experiment as there ar...
I have a dataset of football (soccer) data, where for each player in a given season, I have the (fantasy football) points scored in a particular match, the opposition attacking and defensive strength for that match, and a number of other variables. For example: I want to predict the points scored by a particular playe...
I'm looking to quantify route safety for each route in our route database. For this, I have the following data in the past 2 years: accidents observed for each route, no. of phone usage events no. of high acceleration events no. of braking events no. of potential collision events At first I wanted to add up these fea...
I would like to know how to derive the empirical expression of the test statistics below: $$ \omega^2 = \sum_{i=1}^{n}(U_{(i)}-\frac{2i-1}{2n})^2 + \frac{1}{12n} $$ from $$ \omega^2 = n \int_\Omega(F_n(x)-F(x))^2dF(x) $$ I presume that : 1.approximate $dF(x)=dF_n(x)=\frac{1}{n}$ and $dF_n(x)$ is discrete that $n \int_\...
Can you please help me interpret the earning persistent? Thank you so much!
I am investigating the relationship between device usage and screen time for my math assignment (my last ever high school math assignment, yay!), but after creating the residual plot, I realised it looked basically identical to my scatterplot. What does this mean in terms of whether the linear equation is appropriate f...
I'm trying to analyse a non-inferiority trial in R. Since there are correlated observations and a population averaged interpretation seems fine, I want to use GEE. To illustrate my problem, I will use the muscatine data that is embedded in the gee package in R. The research question can be as follows, I want to investi...
Does the non-multicollinearity assumption apply to DBSCAN? I've read that this clustering method makes no assumptions about the density or variance in clusters that may exist in the data set. Can that be used as a reason that DBSCAN does not need assumptions?
I've only just been taking a dive into DoE, so I'm still green on how to setup the designs according my experiment, so this question is more about confirming my understanding of experimental design. I'm designing an experiment with four two-level factors, one of which an ordinal categorical, and one nominal categorical...
I am running a regression in python (a basic market model with just one index as regressor). After doing that I conduct the heteroscedasticity test on residuals using two tests, White and ARCH. I am having trouble understanding the situation when I only obtain significance in the White test. In other words, how should ...
Say I have a clock that emits "ticks". An ideal clock looks like a dirac comb. It has: perfect periodicity of ticks (there is a precise fixed time interval between any two consecutive ticks) perfect tick sharpness (infinitely high infinitely thin spikes at each tick, integrating over a tick will increase the state by ...
Assuming I have observations nested in groups with varying (true) means. Using a random intercepts mixed model (multilevel model), I can estimate the variance of these random intercepts. Additionally, I could estimate the group means, conditional on the model. Is it reasonable to expect that variance of conditional mea...
I am curious whether the property of homoskedasticity is more or less dependent on the correlation between independent variables. I assumed that if the $cor(x_1,x_2....x_n) \approx 0$, hence the movements of each variable became a random path. But on the other hand we also do not want to perfect collinearity between in...
I have a set of data and I am using this code on it: categorical_columns = ["x3"] numerical_columns = ["x1", "x2", "x4", "x5", "x6", "x8"] preprocessor = make_column_transformer( (OneHotEncoder(drop="first"), categorical_columns), (StandardScaler(), numerical_columns), remainder="passthrough", verbose_feature...
This is my first question so apologies for any problems with it. I am carrying out an experiment which involved counting the number of people using the stairs or the elevator during a 30 minute period, on the same day in consecutive weeks (this test is being performed in a university building where it can be assumed th...
We have two slot machines, $B_1$ and $B_2$. We've played the first machine $n_1$ times and gotten the rewards $R_1^1, \dots, R_1^{n_1}$ and played the second machine $n_2$ times and gotten the rewards $R_2^1, \dots, R_2^{n_2}$. Based on the data $x = \{ R_1^1, \dots, R_1^{n_1},R_2^1, \dots, R_2^{n_2} \}$ we want to dec...
In cluster-randomised clinical trials it is often the case that 'units', be they hospitals, practitioners or primary care centres etc., are randomised to the intervention or control arms prior to recruitment of the patients. In this case, it can be expected that not 100% of patients in each cluster will consent to bein...
I recently saw a case where someone fit a SEM with 20 latent variables (with many indicators each) predicting a single latent variable (of several indicators), and suggested it was evidence for some causal/theoretical model and called it a day. There were no indirect paths and they did not have multiple outcomes/DVs (...
Consider a random variable $X$ with density $$f(x : θ) = C(θ)e^{η(θ)T(x)}h(x), θ ∈ Θ$$. Assume that $η(θ)$ is strictly increasing in $θ$ and that the family is full rank. Show that there will not be any UMP size $0<α<1$ test for $H_0 : θ = θ_0$ against $H_1 : θ \neq θ_0$. $$$$My attempt to the solution is as follows : ...
I have a multinomial Naive Bayes model that classifies a document into 1 of 178 classes. This goes well about 50% of the time, so it's pretty good (for my use case) considering the large set of classes. Now, I want to know if by knowing the size of the input document (in bytes) I can say anything about the confidence o...
I ran a multilevel logistic regression model using function glmer from R package lme4. All of my predictors are binary and I have used effect coding, i.e., coding -1 and 1. The model contains multiple interaction terms. I have computed odds ratios, but struggle to interpret the model's interaction effects. I know that ...
Consider independent random variables $X_n\sim\operatorname{\mathsf{Ber}}\left(\frac1n\right)$. The problem is whether $$X_n\xrightarrow{\mathrm{a.s.}}0$$ is true or not. I tried to use the definition $$\Pr\left(\lim_{n\to\infty}X_n=0\right)=1$$ But I do not understand what the limit of those mean. I read that it can b...
The question is about computing the variance of the random-effect parameters estimated when fitting a linear mixed-effect model when the parameterization of the random-effect parameters changes. This link describes how to use the delta rule to compute the variance of the estimated random effects. I would like to exten...
Consider $n$ samples $X_1,X_2,..,X_n$, where each is normally distributed according to mean $\mu$ and variance $\sigma^2$. We use these samples to define our reference population. Given a bootstrap sample from this reference population, i.e., $Y_1,Y_2,...,Y_n$, we know that the mean $\bar{Y}$ has expectation $\mu$ and ...
I have found that random effects terms can affect other coefficients within a model from here. I see how in this example the coefficients change with the addition of a random effect; I'm still not sure why this happened though. I've seen how the Frisch–Waugh–Lovell theorem can show how coefficients may change in respon...
My data consists of three columns A is the percentage of those who answered 'Yes' on question 1 B is the percentage of those who answered 'Yes' on question 2 C is a number that represents a score. This score is an index that is NOT calculated based on the previous columns. It is kind of rating for this group. I want to...
Short Version: Given a variance covariance matrix for my multivariate normal distribution where the entries are equations of other parameters, how do I find which of those parameter values maximizes the likelihood of my data? I've tried treating the function which calculates the likelihood of my data like a black box a...
In a random sample of n subjects with n being very large, let X be the number of successes. Now I want to create the confidence interval for the natural log of the proportion of successes. Can I simply log the confidence interval I would get from applying CLT on the proportion estimate? This should be possible as quant...
I am developing Machine learning prediction models using the caret package in r (Elastic net, SVM, Random Forest, XGBoost). I have 650 cases with 104 having the event of interest. Instead of splitting the data into training and test cohorts, I have decided to use .632 bootstrap to perform internal validation. First I p...
Many papers design a methodology to detect a difference between $2$ groups regarding a primary outcome. This result is then given a $p$ value to denote statistical significance. Some papers then go on to adjust their analysis for age, sex, weight, height etc., and report a statistically non-significant difference betwe...
I am unsure how to best control for baseline levels in a mixed effects models. I've seen several different suggestions and I'm not sure if one option or more correct or appropriate than another. Lets say I am running analysis for longitudinal study with 3 treatment groups (group 1, group 2, group 3) and three time poi...
Past the standard full factorial and fractional designs, I am getting the impression that non-regular designs (OME, Hall, mixed-level OA, etc.) are just trying to fit in as many factors as possible. This implicates the later regression analysis. Assume $X_{n*m} $design matrix, the overall degree of freedom would be $n-...
In simple linear regression with one regressor, if you regress $y$ on $x$, i.e., $\hat{y} = \hat{\beta}_1 x + \hat{\beta}_0$ and $x$ on $y$, i.e., $\hat{x} = \hat{\alpha_1} y + \hat{\alpha_0}$, you can show mathematically that $$ R^2 = \hat{\beta}_1 \hat{\alpha}_1 $$ Is there an intuitive explanation for how the coeffi...
It makes sense to me that we can use the ROC-AUC and PR-AP scores of the validation sets during CV to tune our model hyperparameter selection. And when reporting the models final performance, it makes sense to create a PR or ROC curve on the test data set to illustrate performance on unseen data. But in terms of select...
It seems more natural to talk about UMVUE (following the basic statistical estimation theory). But when we turn to lm, we only care about BLUE, why? Are there any insurmountable difficulties here?
I'm trying to do a multiple linear regression analysis in Excel using the Analysis Toolpak and I am not good at math, let alone stats. So please excuse my total ignorance. I'm using the following explanatory variables: Median income in dollars per county Number of people below poverty level per county Number of reside...
When computing the mean squared error of a regression model, we get a metric in square units. For ease of interpretation, we can therefore instead compute the root mean squared error, which are in units of the target variable and also in a value range that is is closer to the actual values that we are predicting, and h...
I'm working on a Machine Learning classification problem that has five Service Spending features (among many others) in its dataset, each sample is a customer. For instance, here are the first three customers for these features: Service 1 Service 2 Service 3 156 0 0 564 42 0 0 100 140 I've used these nu...
I'm looking for good or reputable references (books, articles, possibly documentaries, instructional videos, podcasts or radio shows, etc.) directly related to the history of ethics in statistics. The kind of references I'm looking for include: Biographies or accounts of historical events, ​prominently involving ethic...
The Wikipedia article on Barnard's test says: While first published in 1945 by G.A. Barnard, the test did not gain popularity due to the computational difficulty of calculating the p value and Fisher’s specious disapproval. Are there other examples like this one, where non-technical reasons led (at least in part) to ...
I'm working on the topic of causal inference, I use time-series data. I have two scenarios in front of me and I don't understand the difference: Given X and Y "time" features. I would like to know whether X, e.g. average income, does it cause Y, e.g. hotel reservations. Given X "time" feature and an intervention. I'm ...