instruction stringlengths 9 38.7k |
|---|
I have multiple samples, each of size (n), and I'm exploring different methods to estimate the Standard Error (SE) of the mean. I understand there are several approaches, but I'm seeking insights into their applicability and effectiveness in various situations. The methods I'm considering are:
Direct Method: Calculate... |
Let be $x_{1},x_{2},x_{3}$ i.i.d. random variables following a normal distribution with $\mu=0$ and $\sigma=1$. I'm intrigued by the following random variable, which is a ratio of a cubic form and a quadratic form:
$$\frac{1}{\sqrt 2}\frac{x_1 x_2^2 + x_1 x_3^2 +x_2 x_1^2 +x_2 x_3^2 + x_3 x_1^2 + x_3 x_2^2 - 6x_1 x_2 ... |
I've been working through a statistical model that utilizes both the cumulative distribution function (CDF) and the probability density function (PDF) to describe the behavior of a variable $y_i$ conditional on another variable $x_i$, along with parameters $\beta$ and $\sigma$. The model is described as follows:
CDF of... |
I am modeling a three-way interaction with a random error in GAM using mgcv package. The data is from a plant growth experiment with 2 categorical predictors f1 (mois; moisture = 3 levels) and f2 (spec; plant species = 4 levels), a continuous x1 predictor (temp_cont; temperature = 5 levels of a warming treatment treate... |
I am analyzing my dataset with a binomial GLM with the following model:
> expressed/notexpressed ~ treatment + gene + timepoint +
timepoint:treatment + gene:treatment + gene:timepoint +
(1|exp) + (1|cell)
Here is the associated R code:
glm_2 <- glmer(cbind(expressed, notexpressed) ~ treatment + g... |
I have a camera that detects every time it views a car. Each detection is recorded in a database. I then simulate this behavior as a time series by doing an each hour count of the records.
The problem is that for some time intervals I have no records and it is impossible to know if it is because no cars have passed or ... |
Description
To test the goodness of fit of modelled event probabilities $\bar{P}=\{P_{1},...,P_{g}\}\in(0,1)^{G}$ for binomially distributed $G\in\mathbb{N}^{+}$ grades, I’ve applied the HL (Hosmer-Lemeshow) test as follows:
Note that for $G$ grades, $\bar{P}$ is initially based on a multivariate logistic regression an... |
In every reference about coordinate ascent variational inference for the mean field family (Chapter 10 Of the book of C.Bishop Pattern recognition and machine learning, or the review article of Blei et al 2017, Variational inference, a review for statistician, or this discussion for instance) we find the main result wh... |
I have a panel dataset of 40,000 observations, that is 8,000 parishes and 5 years. When I run a fixed effects regression, using parish as a spatial unit, it shows negative adjusted R2 and rather meaningless coefficients. However when I switch to a much larger unit, county (parishes are grouped into 42 counties) the mod... |
Given a dataset $X$ with $d$-dimensional features $x \in R^d$, and a response variable $y$ you can perform a lasso regression, ie linear regression with L1 regularization, as
$$
\min_{\beta} (X\beta - y)^2 + \lambda \sum_j |\beta_j|
$$
It's well known that this kind of regularization yields sparse solutions, ie the est... |
I have been reading a little bit about survivability and I am a little confused about choosing models. Let me set an experiment:
You run 50 toasters until all of them fail, noting down their lifespan $t_1,\cdots,t_n$. We may now create a eCDF, at each time $t_i$ you can write the proportion that has died of the 50 toas... |
I am reading up on linear regression from mit 16.850
Here is how the lecture goes:
Given: $Y_{n,1}$ (targets), $X_{n, p}$ (data), $t_{p, 1}$ (the parameters I'm optimizing over), True model: $Y = \beta(X) + \epsilon$
I want to minimize $\|Y - Xt\|^2_2$ over $t$
The solution is: $\operatorname{argmin}_t\|Y - Xt\|^2_2 =... |
I am reading the paper on consistency and sparsity for sliced inverse regression in high dimensions (https://doi.org/10.1214/17-AOS1561). I'm curious about the conclusion on the page 585
Let $y=\beta^Tx+\varepsilon$, where $x$ follows from a multivariate normal distribution with mean 0 and covariance matrix $\Sigma$ a... |
This is a question about the validity of applying the results of a statistical test, and unfortunately will require some explanation of the experiment in question.
Essentially, I want to measure how well different bacterial cells stick to glass. This involves preparing one set of cells to fluoresce red, and different s... |
I have a weekly forecasting model, which has exogenous variables. The forecasting horizon is 8 weeks ahead - 8 data points. I do forecast (8 weeks) the exogenous variables to use them as input for forecasting the target variables.
Due to complexity, the team suggested to just train the model once a month, which makes t... |
The title says it all: Is F-score the same as accuracy when there are only two classes of equal sizes?
For my specific case, I have measurements of a group of people under two different situations and wish to be able to classify based on the measurements. I therefore have 50 measurements for situation A, and 50 for sit... |
I finished reading Deaths by horsekick in the Prussian army – and other ‘Never Events’ in large organisations. It led me down a rabbit hole of thinking about Poisson point processes modelling demand on healthcare services that ended with: "I would like to read Bortkiewicz’s book".
Unfortunately I don't see a reasonable... |
I am testing various metrics for learning a density estimate. Specifically, I have a sample of data from a distribution $p$, and am learning a function $f$ to estimate $p$ by minimizing a distance or divergence between the two (via Monte Carlo integration over the sample $p$). The usual metrics such as Cramer-von Mises... |
I've read a couple of theoretical explanations of what it is (in particular this thread: When to use Fisher versus Neyman-Pearson framework?), but so far I didn't find real-life examples of people actually using it.
My guess is that some people might be using the N-P framework, but simply don't say it clearly, hence my... |
Suppose that I want to identify a causal effect with panel data. The dependent variable is dichotomous so I use a conditional logit with survival::clogit in R, with clusters for each individual. If an individual is always treated, my understanding is that the fixed effects model drops the observation. But how do I see ... |
I am reading Deep Learning by Goodfellow, Bengio, and Courville. On Page 238, they introduce noises as one way to do regularization. Quote:
Noise applied to the weights can also be interpreted as equivalent
(under some assumptions) to a more traditional form of regularization,
encouraging stability of the function to ... |
I’m trying to figure out the most appropriate test to use for a small water quality dataset (n = 10 sampling visits at 6 river sites, upstream to downstream) with the following characteristics:
-not normally distributed (based on Ryan Joiner test)
-some variables have non-detects (censored data)
-some data groupings re... |
For all transformer models that are either trained for text tasks or specialized for time series or simple equation solving, they tokenize and embed numbers rather than using their raw representation. Why is that?
|
In one of my research, we decided to "update" the procedure mid-study.
In short, we initially tested a repeated measures design (1 factor with 3 levels, 5 times per condition for a total of 15 trials. Let's call the levels within the factor A A1, A2, and A3. I'm interested in seeing if factor A (A1, A2 or A3) affects o... |
I am measuring stem widths of a control plant and a mutant plant and want to determine if there is any significant difference between them. The sample sizes are not the same. When I use a test like Kolmogorov-Smirnov, I get huge significance even though it seems like the distributions aren't really that different. It s... |
Consider the problem
During exam time, in a certain school, only 25% of the teachers warn their students in writing that they are not allowed to get up to ask questions during exam time.
in writing to their students that they are not allowed to stand up and ask questions during the test. However, it has been observed t... |
First time poster here. Is there anything wrong with the following regression approach?
EDIT:
After following the advice of the accepted answer to include the multiple-membership effect, I wanted to post an update of the result. I used a combination of the approaches in this tutorial on multiple-membership modeling and... |
I have two different hourly measurement datasets. Other is temperature, and other is some measured value. I am interested to study how temperature affects the other value and eventually find a coefficient that I can use to "normalize" the measurement data to normal temperature. I also want to consider the lag effect of... |
What's the best way to sample from multivariate probability density functions that are proportional to $\exp(-\|x\|_2)$ or $\|x\|_2^p \exp(-\|x\|_2)$ for some positive integer $p$ with $x \in \mathbb{R}^d$?
|
In supervised learning, we usually maximize log-likelihood, for example, by minimizing cross-entropy loss. Let's say we have data $X$ and their respective labels $Y$. We train a model to output a certain variable ($Z$) so that $p_{model} (y|x;\theta)$ obtained from $Z$, through softmax for example, is maximized. Then c... |
I have a pandas data frame with 50 columns and 10 rows. The columns represent events and the rows are days. If an event occurs in a day, then the corresponding cell is a "1", else, is a "0".
Since monitoring 50 events is expensive, I have tried to use Factor analysis to find if I can stop monitoring any of the events. ... |
Here are the correct results:
Here is how I inputted it into Excel (Note: I believed they used SPSS)
|
Suppose I have three candidate instruments $Z_1, Z_2, Z_3$ for the same endogenous variable $T$. I have no clear preference for which one the exclusion restriction is actually valid.
Can I combine the information from all three instruments to construct bounds? Suppose, I run three 2SLS regressions
$$ Y = \alpha_i + \be... |
I have a classification problem where the goal is to predict, based on a small paragraph, if an individual is British or not.
The model used for the classification is Universal Sentence Encoder (to transform the paragraph into vectors) and a classifier for the classification.
I would like to show/illustrate that the un... |
I run an AB test and I have results at city level (keep in mind I run a one-sided test):
city,diff_means,p_value,ci_lower,ci_upper
TGN, 0.1, 0.001, 0.09, 0.11
BCN, 0.0, 0.78, -1,1
REU, -0.1, 0.99, -0.11, -0.09
...
I run the Benjamini-Hochberg procedure and find a new significance ... |
Let $\mathcal F_p=\{H\text{ is a cumulative distribution function}:\int|x|^pdH<\infty\}$. Define on $\mathcal F_p,$ Mallows' metric ($p$ Wasserstein metric), $d_p,p\ge1$ for two random variables $X,Y$ as
$$d_p(X,Y)=\inf_{(X,Y)\sim\pi}\left[E_\pi|X-Y|^p\right]^\frac{1}{p}.$$
If $\{X_j\},\{Y_j\}$ are two sequences of ind... |
I’m reading a paper on Graph Neural Networks (GNNs) that uses the terms ‘isotropic’ and ‘anisotropic’ in the context of message passing. I understand that these terms originate from physics, chemistry, and mathematics, but I’m struggling to find an analogy or reason for their use in this paper. Could anyone provide som... |
I have a dataset with nutrient information about different ingredients. There are a total of 70 nutrients (numeric features) and 3 categorical features for a total of around 550 ingredients. I am currently using Gower's Distance to calculate the dissimilarity between the ingredients.
Because of high dimensionality as w... |
I'm analyzing a dataset with a set of binary predictors and a binary response variable using logistic regression.
The response variable equals 1 only if some variable $x=1$, so there is a clear link between these variables. However, both in models with single or multiple predictors, the coefficient of that variable is ... |
I have read several articles concerning subgroup interaction interpretation but none of them have the situation I am dealing with. Suppose we have an experiment with a control vs treatment influence on some target value and there are 2 subgroups across the population: male and female.
We run a regression analysis and g... |
I can't work out if I should be using 2 or 3 factors here.
I have two groups: CON and TEST
I gave Drug A or Drug B (there is no "None" group...)
I take samples before treatment and after treatment (before and after) (so technically the "before" = "None")
Consequently:
If I do 2 x 2 (Group x Drug) analysis, then I ca... |
This is my first time doing time series forecasting, so I am sorry for any inconsistencies in my question. But I have two different models that I want to compare. On Wikipedia, I read about Mean Absolute Scaled Error and that it can be used for the Diebold-Mariano test for a one-step forecast to test the statistical si... |
I am trying to analyze how the number of events Y is influenced by three factors A (4 levels), B (2 levels) and C (2 levels) and the interactions between the three.
Initially trying a poisson regression found the model to be over-dispersed so a negative binomial regression was run.
model <- glm(No.Y ~ A*B*C, data=Y, f... |
I've been doing Andrew Ng's Machine Learning Specialization on Coursera, there's a lab in which he uses 1 hidden layer with ReLU to show how it enables models to stitch together linear segments to model complex non-linear functions, and this graph got me thinking:
Let's say you have a function like this one but with j... |
my background is being an applied mathematician with some basic statistic background.
I have a dataset containing a metric random variable whose value is to be explained by the categorical variable. The dependent variable contains measured values.
The categorical variable has three values A,B,C. Its influence is to be ... |
I am facing the unusual problem that my $p$ values are too good. They are so good that I must be doing something wrong, but I don't know what.
I am working with natural language data from a text corpus. The language I am working with has forms that are, in some contexts, optionally marked for plural number. The equival... |
I am struggling with how to test for the change of a proportion pattern. The dependent variable $t$ is an amount of time which itself is partitioned into $n\geq3$ phases $t_i$. Thus, $t=\sum_{i=1}^n t_i$. There is a baseline and a post treatment measurement with treatment being a two level factor. The second measuremen... |
I have to identify 4 different points in time per stock price. I have several thousand stock prices, which are available as a monthly time series, so I need an automated calculation of the points in time per stock.
I am investigating the effects of external shocks, e.g. COVID-19 or the financial crisis, on companies' s... |
The RRR framework is usually stated as the minimization problem $\min_{A,B} \|Y-XAB\|_2^2$, where $A$ have orthogonal columns and $A\sim p\times k$, $B\sim k\times q$ with $k<\min(p,q)$.
This representation assumes a linear model $Y=XAB+\epsilon$.
I'm interested in the problem
$$\min_{A,B} \|YB^T-XA\|_2^2.$$
Could you ... |
Suppose train on line A arrives in time uniformly distributed between 0 and 4mins, train on line B arrives in time uniformly distributed between 0 and 6 mins, and furthermore the time interval between A and B arrival is uniformly distributed between 0 and 4.
a. What is the probability train on line A arrives first
b. W... |
A random variable y is a mean preserving spread of the random variable x iff y = x + e where e is noise and E(e|x)=0 (per notes here).
And yet, two random variables possessing equal means and different variances does not mean that the one with the higher variance is a mean-preserving spread of the other. I thought both... |
This is from the lecture slides of mit 18.650
Here $\sigma^2$ is the variance of the error term ($\epsilon$) in the true model $Y = \beta X + \epsilon$ and $\hat{\beta}$ is the model's estimate of $\beta$
What does the last point in the slide mean? It says $\hat{\beta} \perp \hat{\sigma}^2$. Isn't $\hat{\sigma}^2$ a r... |
I like the restricted mean survival time (and the difference in RMST between cohorts) in survival analyses. However, it does not really convey the effect of an exposure on rare outcomes. For instance, if a drug decreases the risk of mortality by 30% (in relative terms) but the vast majority of people in either cohort d... |
I have a time series that looks like this
I was asked to display the autocorrelation function and perform ADF test and based on that suggest a d for further analysis.
I get plots like this and can decide how to choose d,
The ADF test is something like this
Augmented Dickey-Fuller Test
data: Yt_diff1
Dickey-Fu... |
I have a set of experimental growth data where I exposed a group of animals to increasing concentrations of multiple toxicants.
Two toxicants were run at a time in batches due to material considerations.
I observed log-logistic dose-response relationships and fit a four parameter model to each using the R drc package (... |
I'm working on a classification problem from a dataset containing three classes, with proportions {"0":0.43, "1":0.25, "2":0.30}.
However, whenever I train a model, it never predicts class "1" (literally ZERO predictions).
Even weirder, this happens regardless of the model I train (tried the usual, SVM, RF, tree boosti... |
I am trying to find the effect of blood pH values(continuous variable) in three groups of patients (categorical data) with different neurological outcomes. Is it correct to use one way ANOVA test here.
pH is the predictor variable and neurological outcome is the outcome variable
|
I am investigating a significant 3-way interaction and I am not sure I am using emmeans correctly. When I pass the model to emmeans with type =response it says it is back-transformed but when I then pass that to pairs it says it is still on the log scale.
fit <- nlme::lme(log(Abundance) ~ Time * Group * Drug, random = ... |
I'm currently a high school senior working on an astronomy research project, and am having trouble determining if there's a special kind of statistical analysis that I need to perform on my data.
I'm looking at the relationship between a stellar attribute (luminosity) and a planetary attribute (radius) in hot jupiter e... |
I have three instruments that measure the concentration of dust in the air, and I want to test whether the mean difference between their measurements is zero (i.e that they give the same measurement). The instruments produce one measurement per period of time (no repeats), and the concentration of dust naturally varie... |
I am trying to confirm the following statement that in R fable package: RW() returns a random walk model, which is equivalent to an ARIMA(0,1,0) model with an optional drift coefficient included using drift()
rdrr link
Here is my example:
library(magrittr)
library(dplyr)
library(fpp3)
x <- seq(1,50, by = 1)
y <- 0.5*... |
I am conducting a within-group study where participants rate the perceived helpfulness of ideas on a Likert scale (DV) across two different days (Day 1 and Day 2), serving as the independent variable (IV).
The challenge I'm encountering is that each participant rated a different set of ideas on each day, and not every ... |
Given the following:
X|θ ~ N(θ , 1/k)
model M0 stating that θ = θ0
model M1 stating that θ ~ N(u , 1/z)
How to show that X|M1 follows a normal distribution with mean u and variance 1/k + 1/z?
I think I get the intuition behind it, X is centered around θ, and θ is centered around u, so X should have expectation u as w... |
I want to understand the relationship between X and Y, with a control variable Z. What are the differences (in assumption, interpretation of $\beta$, etc) between (1) the regression model of $Y = \beta X + Z$, and (2) the weighted regression model $Y = \beta X$ weighted by Z?
|
I am conducting a study looking at the quality of clinical trials. I am trying to find out what factors are predictors of the methodological quality of the trials. My dependent variable is a score grading their methodology (score range is from 0 to 10). I have a number of independent variables. Some are multi-category ... |
I ran glm() for a binary outcome(0/1) not specifying family = binomial. So i just found that it ran as family= gaussian.
I already shared the odds ratios results with my clients and the odds ratios had a big difference..it seems went too far…..What is the best way to deal with this? Is there any way to deliver the real... |
This is the primal form of the SVM hypothesis :
$$
h _{\mathbf{\vec w}, b}(\mathbf{\vec x}^{(i)}) = \mathbf{\vec w}\cdot \mathbf{\vec x}^{(i)} + b
$$
The Representer theorem as formulated here expresses the optimal weight vector as a linear combination of the training examples :
$$
\mathbf{\vec w}^{*} = \sum_{i=1}^{m}\... |
Tested the inhibitory effect of 2 essential oils on bacteria at 5 different concentrations. Thus, the first independent variable is the type of oil used and the second is the concentrations. A two-way ANOVA with replication (since I had 10 trials per conc.) in that case would be appropriate according to my knowledge.
A... |
The definition of the effective degrees of freedom (dof) in Ridge Regression via the trace of the "hat matrix" is well known (see e.g. Hastie and Tibshirani's Generalized Additive Models).
But it seems less clear/widely published whether one should use this dof value for the computation of the residual variance $\wideh... |
Chapter 1.2.1.5 Uncertainty of Probabilistic Machine Learning: An Introduction by Kevin P. Murphy says the following:
We can capture our uncertainty using the following conditional probability distribution:
$$p(y = c \mid \mathbf{x}; \mathbf{\theta}) = f_c(\mathbf{x}; \mathbf{\theta}) \tag{1.7}$$
where $f: \chi \to [0... |
Does anyone know if there is a possibility for robust estimation (e. g. Yuan-Bentler or Satorra-Bentler) in Onyx, because the normal distribution assumption is not given? I only see the options Maximum Likelihood and Least Squares.
Thank you!
|
I am currently working on a meta analysis and right now I am trying to do a moderator/moderation analysis but I have come across one problem: When I try to run the function:
MA_SampleType <- rma(yi, vi, mods = ~ SampleType)
I can only see four of my five variables in the Model Results. The same problem occurs for all ... |
I have the following a data for a medical meta-analysis. The data is given as an annualized flare rate for the drug and placebo, and then the rate ratio (0.67) is presented with a confidence interval. I am using the ln(rate ratio) for an inverse variance analysis on RevMan 5.4. But how do I convert these confidence int... |
Let $(X_1, Y_1), ...., (X_n, Y_n)$ be iid random vectors with marginal distributions functions $F(x)$ and $G(x)$ (both are continuous distributions) respectively such that $F(0)=G(0)=\frac{1}{2}$. Then find a $U$-statistic
estimator of $\int_0^{\infty}G(x)dF(x)$. Also find the limiting distribution of this $U$-statisti... |
I'm currently working on analyzing data from an odour rating task, and I have some questions regarding the statistics approach. In the experiment, participants were exposed to 6 different odour conditions and asked to rate the intensity on a scale from 1 to 7. The odours fall into two groups (Odour A and B), each with ... |
In class, a teacher told me that the realization of a random variable is also a random variable. For example, if I take the a sample mean, and that mean results in the value
35, then 35 is also a random variable. In a book (pdf page 181), I also found something similar:
Throughout this chapter we consider a sequence o... |
I have a multinomial distribution with $k$ categories, and my goal is to establish statements of the form: "I am $1-\alpha$ confident that the true frequency of category $i$ is below $x$".
There is a good chance that I will only be told the frequencies of the categories that happened to show up the least. Let's fix $\a... |
I am reading ISLP chapter 3.2 about multiple linear regressions.
F-statistic seems like to be a statistic calculated per sample. But also we know that it is just and estimation for the stat on whole population.
In that case, I wanted to verify this thing about F-distribution.
Is F-distribution a sampling distribution ... |
I am asked to give an example for a joint distribution of three random variables, $U$, $V$ and $W$, where $U$ and $V$ are (unconditionally) independent but are NOT conditionally independent given $W$.
It is also known that:
$U$ and $V$ are normally distributed with a mean of $2$ and a variance of $2$ (that is, $U \sim... |
I am trying to understand the following points:
Does MLE (Maximum Likelihood Estimate) always produce biased variance estimates?
Does RMLE (Restricted Maximum Likelihood Estimate) always produce unbiased variance estimates?
Part 1: As an example, I tried to show that in the case of a Normal Distribution, the MLE for ... |
I understand that instrumental variable is used to address endogeneity bias since there could be correlation between the variable of interest and the error term.
Suppose now we want to see the estimated effect of X on Y. After some searching, I still do not know why we can't simply include the instrumental variable (Z)... |
Say we have a timeseries data $x_t$ and we are trying to predict $y_t$ with the following:
$$y_t = \alpha + \beta f_t$$
where $f_r = \frac{1}{3}(x_t +x_{t-1} + x_{t-2})$.
Now, your t-stat is $3$. How would you adjust the t-stat without running a new regression in order to account for the autocorrelation?
I would typica... |
I am using a Cox PH model to study at what point in their lives people decide to move outside of the United States. My sample is 500 people who live in the United States, and the unit of analysis is the person-year. Using the traditional survival model language, "death" here refers to moving abroad and leaving the US.
... |
What is the best way to show that when sampling from a normal distribution, the sample mean and sample variance are independent?
I know the theory behind this result, I would like to show it using a simulation in R.
For now what I did is:
R<-1000
n<-10
mu<-5
sd<-3
mc<-s2<-vector(mode="numeric",length=R)
for(i in 1:R)... |
I have sets of sampled data with the following statistics:
Because the mean is so close to the min, and because of our understanding of the process that generated the samples, we are treating the samples as exponentially distributed, with lambda = 1/average.
I am trying to generate random samples with as similar as po... |
I'm working on a dynamic Difference-in-Differences (DID) analysis to assess the impact of child care leave on individuals' wages over their working life. My database includes information on the date of joining and leaving the company, the date of leaving, and the cause for leaving (including child care leave). I also h... |
I'm interested in determining the time points for e.g. 75% survival or 25% survival from a Kaplan-Meier curve using R.
Take for example the following K-M curve:
library('survival')
the.data <- data.frame(months=c(1,1.5,2,2,5, 3.5,3.75, 4,5,6), status=c(0,1,1,1,1,0,1,0,1,0))
answer <- survfit(Surv(the.data$months, the.d... |
I'm trying to understand when to use a paired T-Test over a two sample T-Test. In most cases it's clear but I have the following hypothetical scenario.
A social media company claim offer a feature to increase the engagement of your posts. To test this you run an experiment on a number (30) of your social media posts.
Y... |
This is based on a deleted question, with the premises clarified to my understanding.
You are gambling in a casino with particular rules:
Bets are paid off at even amounts, so if you win a round you get your bet returned plus the same amount as your winnings, while if you lose a round then you lose your bet
The probab... |
I am trying to learn about how different parameters in mixed effects regression models are estimated.
For the following model:
$$y = X\beta + Zb + \epsilon$$
I read that a popular approach first involves estimating the fixed effects using GLS:
$$Q(\beta) = (y - X\beta)'V^{-1}(y - X\beta)$$
$$\frac{\partial Q(\beta)}{\p... |
Part 1: Suppose we have some sample data (univariate). We believe that this data came from a Normal Distribution. Using MLE, we can show that the mean estimator will be unbiased but the variance estimator will be biased:
$$L(\mu, \sigma^2 | x_1, ..., x_n) = \prod_{i=1}^{n} \frac{1}{\sqrt{2\pi\sigma^2}} e^{-\frac{(x_i-\... |
Our study is a cross-sectional study with a total sample size of 30. The dependent variable (presence or absence of MP components in the detected blood clot samples) is a binary categorical variable, with 24 samples testing positive for MP and 6 samples testing negative. The reviewers suspect that the wide 95% confiden... |
I'm trying to get an overview of the various results called "complete class theorems" and their relatives, especially the ones that say things along the lines of "every admissible decision rule is a (limit of generalised) Bayes rule(s)". This is hard because there are papers from the 1940s into the 2020s, all proving s... |
I am interested in investigating the impact of a policy implemented in 2020 aimed at fostering sustained engagement in music-related activities. This policy involves providing a Conditional Cash Transfer to all teenagers born in 2006, (those 14 years old in 2020). The financial assistance provided by this policy can be... |
To overcome the problems of non-starionarity and cointegration between variables, Toda and Yamamoto (1995) suggested to estimate a VAR with a number of lags sufficient to avoid the problem of autocorrelation and then add an extra lag, as exogenous variable, to preserve the asymptotic distribution of the Wald Test for t... |
I consider to participate an Internet panel used by opinion poll companies. The salary is negligible; the main thing I hope to gain from participating is the opportunity to affect the outcomes, and by that, the public policy. However, since I do not know how polling works, I am not sure how much influence would I have ... |
I have a financial dataset which has 10 years worth of data. The aim is to build a regressor capable of predicting next year sales. So, if I want to predict sales for 2024, I could use data from 2023, 2022, 2021, and so on...
If I use all my features, I'm able to get a decent model, but with some feature selection/engi... |
From all the content I have read, ordinary least squares (OLS) assumes that the errors are normally distributed i.i.d. I still cannot find any content that gives a bit more insight on what can be inferred about the distribution of (Xi, yi).
From what I read here it seems like having i.i.d assumptions on (Xi, yi) is a m... |
I've read once that the normality assumption shouldn't be a problem and that you actually shouldn't care that much if your sample is large. Why is that? Can someone give me a mathematical explanation? And is that for both prediction and inference (i.e getting BLUE estimators)?
|
I am working on a linear regression problem using sklearn's diabetes dataset and coding things from scratch and while evaluating the performance of the model, I have come to question how to move between what the MSE is on the standardised dataset and what it would be on the unperturbed dataset.
I scaled both the X and ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.