instruction stringlengths 9 38.7k |
|---|
I have vegetation cover (%) data [0,1] that includes 0's and 1's that I'd like to model with a beta GAMM, but don't understand the method for doing so. I've read that if the data includes 0's and 1's this makes it a "zero- and one- inflated model" which it involves adjusting eps within the family argument, but the inst... |
We have workouts, durations, and difficulties and we want to know how many unique combinations of these items we can form.
Workout
Duration
Difficulty
Strength
10mins
Beginner
Yoga
15mins
Intermediate
Stretching
20mins
Advanced
Biking
Running
Rowing
There are three different ways these optio... |
I'm working with a time series dataset and am interested in normalizing the data using the rolling Median Absolute Deviation (MAD). The true MAD is defined as:
$$ \text{MAD} = \text{rolling median}(|X_i - \text{median}(X)|) $$
However, due to computational constraints, I'm considering an approximation method that uses ... |
I am running a yearlong intervention with students. I will have about 50 in my sample. Students took a pre-/post- mathematics assessment which gives them a raw score. I want to measure their growth on that assessment in comparison to the average growth of students in the school district. Also, students are taking a pre... |
I'm trying to follow B-J methodology for my intervention analysis. My understanding of of the first step is that, one should detrend any systematic trends such as seasonality then determine the lag order by observing the PACF and ACF of the detrended series. But I now have to include a dummy variable for the interventi... |
I work with a labelled tabular dataset of about 1 million observations, with the target being binary. The dataset is heavily imbalanced - about 0.5% positive class.
I have trained a gradient boosting tree-based classifier (LightGBM) to predict the binary class, obtaining a good baseline in terms of precision and recall... |
Is it essential to have the data grouped in a Poisson regression? An example:
I want to know the determinants of traffic accidents in a country through data from two cities. My 3 explanatory variables are the number of young people, gender and the number of cars.
Later I want to know if my model correctly predicts the ... |
I ran HDBSCAN on these coordinates and got some clusters but some are too large. HDBSCAN has a minimum cluster size parameter, but no maximum size. All I want is to intuitively divide larger clusters so that none are larger than a maximum cluster size. Essentially, something that creates the second plot below. I could ... |
Let's consider a true classification problem, that is, one where the predictor makes categorical predictions (not probabilities).
It makes sense to assess the accuracy of such a predictor. However, that accuracy should be given context. The easiest example of this is when there is imbalance: a model can achieve an accu... |
In this post I established that the standard error of cross-validation prediction error is the standard deviation of prediction error across folds divided by the square root of the number of folds. Hence in a lasso regression with 100 candidate values of lambda there will be 100 standard error of prediction errors.
Thi... |
I am trying to compare slopes of a simple model with a polynomial effect in R:
> fit = lm(y ~ poly(x, 2)*w, data = df)
here x is a continuous variable, and w a categorical effect with 2 levels
I tried to do so using sim_slopes from the interactions package, but I get a subscript out of bound error :
> sim_slopes(fit, ... |
We are searching for the best model to represent continuous data of gene expression logFC (Y-axis) across 5 time points (X-axis), where the trend line would follow the mean expression on each day. Additionally, in each day there are two groups of genes: leading edge and the rest.
We have fitted a polynomial model or pl... |
We have two different independent internal function calls for an application module, max of the time taken by two function calls individually determines how much the overall module takes. Individually, both the internal function calls are normally distributed. So, it means for a single execution, time taken by internal... |
How should I interpret the negative relationship between the residual and the fitted value in the plot shown below?
|
A standard problem in classical statistics is to find a good estimator that minimizes a given cost function under certain conditions. Normally we want to require the estimator $\hat\theta$ to be unbiased in every possible value of unknown parameters, that is
$$
\mathrm{E}_{\boldsymbol{\theta }}^{(n)}\left[ \hat{\theta}... |
I want to calculate the relative importance of predictors of a hurdle model, my first choice is dominance analysis. For that I would need a suitable metric of model quality. My first thought is to use a pseudo-R2 like McFadden, but I am not an expert.
Could anyone provide advice on a suitable metric of model quality, t... |
Upon doing a test that compares the effect of imaging versus regular tissue biopsy for cancer that has a prevalence of 90%, we found no true negative and we ended up with zero specificity. The cutoff for positivity in imaging was based on a prior publication, so I can't change that. The 2x2 contingency table (confusion... |
How would one ideally compare fitted survival models with covariates vs. a Kaplan-Meier with a goal of getting an idea of whether the survival model describes the data well.
E.g. in an example like this, you might get the impression that an intercept-only exponential model might be okay:
set.seed(1234)
sim <- tibble(pa... |
Let $X \sim F(;\theta)$ and $Y \sim G(;\eta)$ be two independent continuous random variables. The greek symbols represent the parameters of those distributions. I can easily sample from these distributions.
Let $(\tilde{X},\tilde{Y}) \sim H(;\kappa)$. These variables are not independent. In fact, I know the conditional... |
In a classification problem (let's say of two categories, cat and dog) with a softmax output, does the probability have any physical meaning other than assigning the category to the input based on the higher probability? Putting another way: Can I say that there is X% probability of the input being a cat and Y% that th... |
I am doing a power analysis for an experiment where we will fit a cumulative link model for ordinal regression. But when I do the power analysis, my power for the null effect is between 20% and 30%. It should be under 5% right?
The experiment
We have groups who play a game over 20 rounds, and each round they come to a ... |
So I analyzed my metabolomics data using Mann Whitney U tests and OPLS-DA. My data is super small, with the control group only having 5 samples and the other groups having 10 and 14 samples respectively. Now I am being asked to find out if age, sex or medication have an effect on the differenced I saw. Should I redo th... |
I have run into the same problem repeatedly, namely that model fit increases with increasing model restraints.
I want to compare measurement invariance on a three-factor model (based on previous CFAs for each sub-sample) consisting of nine items with ordinal scores from 1-4 between two groups (adults[N= 29,000] and ado... |
Question:
Given a categorical distribution $C_q$ with parameters $q_1, \ldots, q_K$ with $K > 2$, $\sum_k q_k = 1$, which (new) categorical distribution $C_p$ with parameters $p_1, \ldots, p_K$ minimises the weighted cross-entropy loss?
Research:
The Bernoulli case ($K=2$) doesn't seem to be too tricky. There, we suppo... |
I am trying to model the effect of volume traded on implied volatility of weekly options. I have the data for 52 weekly expiries at 5 minute intervals.
However the key insight is that each weekly run is a unique path which "is/may" be correlated to previous observations in same expiry path. In that case - each of these... |
I'm having trouble formalizing the following classification problem:
Let $x_i$ denote univariate (scalar), continuous, real data points
Let $y_i \in \mathbb{N}$ be their corresponding labels
Classes are ordinal in the sense that $y_i = 0$ corresponds to a regular/normal condition, while $y_i > 0$ correspond to increas... |
I am planning on doing a regression analysis on STATA on the financial performance of private equity funds. On my descriptive statistics, I saw higher levels of kurtosis and skewness. I decreased these by using the winsorization method for outliers. However, I still have high levels, especially on the kurtosis.
Would ... |
I am using DecisionTreeRegressor and RandomForestRegressor from sklearn in a case where i have multiple output, but i did not find a reference article for the regression case (which is used by sklearn).
There is one reference for classification case "FAST MULTI-CLASS IMAGE ANNOTATION WITH RANDOM
SUBWINDOWS AND MULTIPLE... |
I have data on the abundance of beetles I have collected (I have also done this for biomass of beetles and proportion of abundance represented by a particular functional group of beetles, but only include abundance for simplicity in this post).
Beetles were collected over 3 seasons: winter, spring and summer. At 3 site... |
I have read in several places now that random effects estimators are more efficient than fixed effects estimators, in particular here
I’ve searched this site and Google and couldn’t find this result. So I’m still not sure how to show this.
Thanks
|
I have the following study design:
stimuli: 240 pictures:
6 pictures of 40 students each
(each student fixated one of six points and during each fixation one picture was taken)
each stimulus was rated 4 times by each subject
independent variable: gaze direction (point 2 to 6 in degrees of visual angle, only positiv... |
Let us assume we have the following linear regression model:
$$
w_{it}=\alpha_i+v_t+\varepsilon_{it}
$$
where $w_{it}$ represents wage of an individual $i$ at time $t,$ $\alpha_i$ is an individual fixed effect and $v_t$ is a year fixed effect. Is there a closed form expression for $\hat{\alpha}_i^\text{OLS}$?
In the si... |
Many times I've read that the following expresion $(x_1+x_2+...+x_n)/n$ is an estimator of the population mean. I also read, for example here: that the previous expresion defines a sequence of estimators, indexed by the sample size n.
Is the difference a matter of definitions or due to language abuse? What is the prop... |
I would like to model the variables $Y_1, Y_2, …, Y_n$, which satisfy the constraint $Y_1 + Y_2 + … + Y_n = Y$; where $Y$ (or at least an accurate estimate $\hat{Y}$ thereof) is readily available. More specifically, I am interested in the relative proportions of $Y_1, Y_2, ..., Y_n$. I have some other explanatory varia... |
Typically in genetic studies, sensitivity analyses are used to quantify how estimates of genetic effects are affected by adjusting for additional covariates $Z$. So we have separate regressions for a phenotype $Y$, covariates $X$, and $Z$, and variants $g_k$ indexed by $k$ like:
$$Y = X\beta_0 + g_k\gamma_{0,k} + \va... |
Let us assume that we have the following DGP:
$$
Y=X\beta+W\gamma+U
$$
The identifying assumption here is that $E\left(U'\mid W,X\right)=0.$ What does this assumption mean intuitively? Does it mean that no matter what the values of $W$ and $X,$ for each combination of $X$ and $W,$ the average unobsevables are all 0? Wh... |
In this experiment cows were fed with two different types of grass (Treatment) and we measured the weight gain over time, keeping track of the individual's ID. Sex of the individual was also taken into account. I used GLMM to analyze the data, using (1+Sampling | ID) to account for the repeated measure design.
Weight g... |
For simplicity's sake, let's suppose a binary classification problem, with a perfect 50% of probability for each of the classes, and a SkLearn's SVC model.
Let's assume that the classes in the vector Y cannot be predicted out of the values from the matrix X, because they are unrelated, but we don't know that. So we con... |
I have the following data (aggregated, user level data is not available).
date | platform | total_watch_time
platform = [mobile, mobile + desktop, mobile + desktop + tv]
I want to determine the total_watch_time that I can attribute to tv only.
The hard part is someone could co-view with a TV viewing e.g. 2 different us... |
Let's say I have a k-dimensional multivariate normal distribution $MVN(0,\Sigma)$. Denote random vector $X \sim MVN(0,\Sigma)$ as $X = (x_1, x_2, \dots, x_k)$. It is trivial to find $P(x_1 \leq c_1, x_2 \leq c_2, \dots, x_k \leq c_k$) (i.e. CDF) for some chosen $C = (c_1, c_2,\dots,c_k)$ using Monte Carlo methods (assu... |
I am having trouble interpreting the upper confidence interval for the odds ratio (OR) after executing Fisher's exact test in R.
I have the following contingency table which contains the response status of the subjects when given a new drug under study versus placebo:
trial_table <- matrix(c(11,5,12,19),2, 2,
dimn... |
I am conducting research in which I want to investigate the effect of tax incentives on research and development intensity in a group of firms. I have access to the data of a survey that:
It's only for one year. (It has a cross-sectional nature).
The companies were not chosen randomly, but those companies that
conduct... |
My idea is as follows.
The setting is that we have a population taking a survey after a social experiment. All of the test subjects are assumed to have interactions with each other in one way or another. There have been studies looking at how people herd towards the average of the whole population - however, I am looki... |
I want to write a model for my data on cell counts in specific brain regions. The multilevel structure of the data is as follows:
Measurements within subregions with axes within animal
Subregion and axis are categorical
The model I am trying to create is as follows:
a random intercept for axis (within animal) and a ... |
I am analyzing the effect of two randomized interventions on 1) first-time and, 2) second-time event attendance. All variables are binary (0 vs. 1). Second attendance was conditional on first attendance. A large percentage (~50%) of people did not show up for first attendance; an even smaller percentage of first-time a... |
Lets suppose I have a set of n covariates, and I want to test for the significance of the main effect of covariate i. I want to do this using a likelihood ratio test; fitting a model with covariate i included, and also a "base" model with covariate i not included.
My question is this: when doing the likelihood ratio te... |
I want to simulate/show the idea of confidence intervals but am not entirely sure if my approach is correct.
If I‘m not mistaken, a confidence interval can be understood as: if we would draw many samples, a certain proportion of these samples (e.g. 95% of them) would produce confidence intervals that encompass the true... |
I am working with a dataset of $\approx 10^7$ samples and $\approx 120$ features. All samples have a binary classification $0 - 1$. I am attempting to build a model that minimizes out-of-sample error with not much importance placed on inference. (More of a machine learning than classic statistics framework I guess). Un... |
I have a highly skewed binary response variable in my dataset. I am having issues finding a model that meets all assumptions for a binomial distribution GLM, and I believe this may be correlated to this skewed response. Should I use a resampling method?
|
I've recently been learning about the Nonlinear Iterative Partial Least Squares (NIPALS) algorithm for computing the principal components of a dataset. I am trying to code a NIPALS class from scratch in Python to get a more intuitive understanding of the algorithm:
class NIPALS:
def __init__(self):
"""
... |
In an effort to better understand multivariate normal distributions, I am attempting to derive the mean vector and covariance matrix of multivariate random vector defined by a mixture distribution. This is the scenario I have concocted:
I have two 2-dimensional multivariate normal random vectors, say $\mathbf{X} = (X_1... |
I am running a multiple-indicator growth curve model over 7 time points.
One of my items has a large residual variance and seems to covary very well among themselves.
Thus, I assumed that it has a state-like nature that is invariant over time so I
modeled it as a factor on its own.
So the path diagram would be kind of ... |
I have 5 groups of data, let's just say the income of people of 5 different tax brackets. Each group has 50 samples. I need to sample from these buckets without replacement so that the final distribution (Could be any number less than 250) is log-normal with a mean equal to the expected mean of all 250 samples. I don't... |
I've recently been working on Inhomogeneous Hidden Markov Model (IHMM) as defined in this article. In short, the whole idea distinguishing IHMM from typical HMM is that a transition matrix $A = \{a_{ij}\}$ is now time-variant, so $A(\tau) = \{a_{ij}(\tau)\}$.
Such change entails a reformulation of the forward variable... |
I'm quite new to mediation analysis and try to understand the results I get. I have a new online shop feature I tested in a randomized field experiment. The treated group sees the new feature and the control group does not see the new feature. I now estimated the effect of the new feature on the order value of all cust... |
Suppose $X$ is a random variable, $a>0$ is a constant. Prove that $\mathbb{E}\vert X \vert^{a}<\infty$ iff $\sum\limits_{n=1}^{\infty}n^{a-1}\mathbb{P}(\vert X \vert \geqslant n)<\infty$.
This is a exercise from Mathematical Statistics. Jun Shao. Second edition. EX1.54
For convenience, we suppose that $X$ is non-negati... |
I would like to design an a/b test for menu for a group restaurants, which cater to online users, seeing if there is any impact on sales and orders. But the constraint is that we can only serve one different menu per day for each restaurant. On a typical day, I have about 50-60 users ordering from each restaurant.
In s... |
As an example, let's say we have some financial time series such as closing prices of some stock and we would like to evaluate the ability of different models to forecast future closing prices as well as the ability of a different set of models to make decisions based off of these forecasts, e.g. whether to buy, hold, ... |
I have multiple time series representing a process that operates in batches. It consists of many small intervals interleaved by periodic long intervals (spikes) at the offset of each batch. The period between the spikes varies slightly.
Without knowing the period between spikes (i.e., the spikes are unlabeled), is ther... |
I am studying the factors that influence mosquito feeding behavior. In the experiments, N mosquitoes are exposed to a host for a duration t. At the end of this exposure, we count how many mosquitoes (k) fed. This is repeated across several hosts, but the duration of exposure varied. I want to incorporate the duration i... |
I understand that when data are nonnormal robust maximum likelihood estimator can be used.
I'm wondering are there any disadvantages of using a robust maximum likelihood estimator when the data are normally distributed?
The reason I ask is that I am running latent growth curve models separately for four cognitive outco... |
I want to compute the ensemble mean of the term: $\frac{Y^2}{X}$
Both $X$ and $Y$ are random variables that are not independent. I want to compute $E[\frac{Y^2}{X}]$. I proceed as follows, (Using the formula for splitting a RV into mean and fluctuation $A=E[A]+A'$)
$\frac{Y^2}{X}=\frac{(E[Y]+Y')^2}{E[X]+X'}=\frac{\left... |
I am interested in random walks with momentum in 1D, ie., random walks in which there is a certain probability $p$ to take a step in the same direction as the last step, and a probability $q = 1-p$ to take a step in the other direction (switch direction). In a previous thread, there was an outline proof that the distri... |
A Latent growth curve model with a time-invariant covariant can be specified with (at least) two ways, by using the multigroup model approach or the "regression approach".
By regression approach I mean regressing intercept and slope on the time-invarying covariate, and by multigroup model I mean running two models, one... |
I've been looking into ways to estimate uncertainty for regression tasks on neural networks. One of the obvious options is ensemble modeling. Consider an ensemble of neural networks that all have identical architecture. I would assume that the variation that comes from initialization and batch shuffling would be suffic... |
I'm trying to implement an MM-estimator in python. I have a working implementation of an M-estimator statsmodels.RLM - which is implemented as an iteratively re-weighted least squares algorithm. I am struggling to implement the initial S-estimator, my understanding is that an S-estimator is an M-estimator of scale how... |
I've been diving into segmentation tasks and came across two variations of the Dice Loss that I'm considering for my neural network: the standard Dice Loss and the Squared Dice Loss.
The Standard Dice Loss is formulated as:
$$ \text{Dice Coefficient} = \frac{2 \times \text{intersection} + \text{smooth}}{\text{sum of pr... |
I have two datasets from patients with different diseases, which contain multiple measures of regional brain function and performance on different memory tasks. The memory tasks used in each dataset were not exactly the same, but are meant to assess the same dimensions of memory. My goal is firstly to see which memory ... |
Suppose that I have the following Strauss Process up to a proportionality constant
$$p(\mu_{1}, \mu_{2},..., \mu_{K},K)\propto \xi^{K}\prod_{i=1}^{K} I(\mu_{i}\in R) *a^{\sum_{i,j}|\mu_{i}-\mu_{j}|<d} \tag{*}$$
where $\mu_{i}\in \mathbb{R}, a\in [0,1]$ and $\xi, d>0$. I know how to sample, and I acquired samples from t... |
I'm trying to implement an MM-estimator in python. I have a working implementation of an M-estimator statsmodels.RLM - which is implemented as an iteratively re-weighted least squares algorithm. I am struggling to implement the initial S-estimator, my understanding is that an S-estimator is an M-estimator of scale how... |
I have around 500 observations with a binary outcome at 25% prevalence and will be building an internally validated prediction model. I want to use splines to model non linearity in my continuous predictors.
This is a part of a theoretical exercise and so I’m trying a few different things but I am a little confused abo... |
Currently I have a dataset with an N of 3866 with two variables, Project (group variable, six levels) and Topbox (two levels; yes, no). We are looking to see if there is a difference in the proportion of 'Yes' responses between different projects (i.e., is there a significant difference between the project that has the... |
I'm trying to understand a claim that I've seen stated in a few different papers that when using IPW methods as the estimator for a causal estimand, the robust standard errors from the outcome model will be conservative. See the appendix of Cole et al. 2007 for an example of this claim.
See option 2 in this answer for ... |
I have some confusion regarding Measurement Uncertainty. In some books/articles it is defined wrt true value as "Uncertainty in the average of measurements is the range in which true value is most likely to fall , when there is no bias or systematic component of error is involved in measurement" but if we conduct a ve... |
From the CDF,I feel that the random variable here is continuous.So shouldn't the P(X=x) equals 0 here and we only need to find P(X>=1).
|
The confidence interval entry in Wikipedia lists a number of common misunderstandings about confidence intervals. One of these is described as follows:
A confidence interval is not a definitive range of plausible values for the sample parameter, though it is often heuristically taken as a range of plausible values.
D... |
Overview: In my model building process, I fit both GLMs and GLMMs. I noticed that the GLMs suggested overdispersion in the data, while the GLMMs suggested underdispersion. How can I make sense of this, and what are reasonable next steps for further model assessment and fitting?
I have been working on fitting a model to... |
I was reading through the DNABERT paper and found that their input features were k-mers. This is equivalent to using rolling/sliding window features in the other common family of sequential problem, time series. I have seen this be done, but is there any theory explaining why this can be beneficial?
Why would I give a ... |
I was interested in doing a Principal Component analysis but returning a Principal Component on the scale of the original variables. Principal component analysis in R defaults to scaling and centering, and so I thought that if I set scale and center to False, that it would return a Principal Component on the scale of t... |
I am studying a dataset of time series for different users. The dataset contains records of actions (or registrations) of the users over time. I have data of a whole week for about 80,000 users.
Objective
At the moment, I'm concerned about the count of registrations over time. My objective right now is to study the 'pa... |
This might be a super simple question but I cant seem to find an answer. The issue I am comparing 2 shoes at 3 speeds and their impact on a dependant variable. Therefore lets say shoe1/speed1 = A; shoe2/speed1 = B; shoe1/speed2 = C; shoe2/speed2 = D; shoe1/speed3 = E; shoe2/speed3 =F. Now i am comparing shoe vs shoe at... |
The likelihood of observing the dataset we have (for some mean and variance) can be written as the product of the likelihood of observing each data point (since all the rows are independent). Now, using MLE we will be finding the mean and variance that maximize the likelihood of observing the data. For every value we p... |
Suppose I have the following expressions, where $X_1$,$X_2$,$Y$,$Z_1$,$Z_2$ are all random variables.
$$X_1^2 = B_1 Y + B_{Z_1} Z_1$$
$$X_2^2 = B_2 Y + B_{Z_2} Z_2$$
I'm interested in $Cov(X_1,X_2)$.
If I didn't have the square in the initial equations, you could use linearity and break it down into weighted products o... |
On an assignment I've been tasked with finding whether
$$\hat{\beta}_1=\frac{\sum_{i=1}^n x_iy_i}{\sum_{i=1}^n x_i^2},$$
the estimator for the slope of a no-intercept regression model $Y_i=\beta_1 X_i+\epsilon_i$, is unbiased. I'm not sure how this is done. I would like to use the traditional expected value definition ... |
So I want to compare whether using human scoring or using modelling of avian vision for scoring significantly affects the correlation between rummage brightness and altitude. To do this, I am running phylogenetic generalised least square models (PGLS) to see the relation between both of these score types and altitude f... |
I am confused about which one to use for, say testing $ H_0: \beta_1 = \beta_2 $. The F-test for comparison of residual sum of squares can be used here, as can things like adjusted $R^2$, AIC/BIC or Mallows'
$C_p$. So which one should I use? Or is there some better method that I am missing here?
|
I am working with data on cuteness judgements and size judgments for differently named fantasy creatures. The interesting part of the different names are the vowels contained in them.
The question I am fitting a GAM for is: Do the effects of cuteness and vowel interact when it comes to size judgements?
Thus far, my mod... |
I have done my thesis on forecasting problem in advertisment industry. However, it resulted that the prediction accuracy for traditional econometric models (Lasso, Ridge) showed the better results rather than ML models. The reason that we came up is the number of observations. I have 169 observations.
Now I want to inv... |
I want to investigate the correlation of $N$ and $G$ with $X$. In a correlation matrix, $N$ and $G$ are both positively correlated with $X$. $N$ and $G$ are correlated, too, by the way. In a multiple regression however, $G$ was a significant predictor for $X$, while $N$ was not.
Can somebody help me to interpret this?... |
I want to test the connection between N,G and the Interaction of NxG to Y for an assignment. My task is to first do an multiple Regression with N+G and then integrate the interaction of both in a second Model. Would this be considered "Hierachical Regression" or is this just testing multiple Models and more "usual mult... |
I'm developing a probit model to predict the partial effect of independent variables on the expected probability of my dependent variable being one (that is the event that a strong growth in GDP occurs). Does it make sense to regress the binary dependent variable on an average growth rate of an independent variable, $g... |
I am working with a very large dataset that essentially covers the entire population of interest. I want to assess the linearity assumption between an independent variable and the log(odds) of the dependent variable in logistic regression.
There are different ways to check this assumption, with a typical method being ... |
I'm evaluating disentanglement in toy datasets seeing as we have such little understanding of the phenomena. I'm using various tools from differential geometry. Now I want to train a VAE on the following dataset:
class Radial(Dataset):
def __init__(self, num_samples=1000, num_radii=5, num_angles=8, r_noise=0.0, ang... |
Multiple papers and online texts start from the position that decision tree overfitting can be taken for granted.
I am not here to dispute this. However, the claim of decision tree overfitting is often uncited.
Therefore, I wondered if there was a central reference for this to justify this universal claim, or if it is ... |
I was reading this answer, where it is explained that the externally studentized residual $$t_i = \frac{e_i}{\hat\sigma_{(i)}\sqrt{1 - h_i}} = \frac{\frac{e_i}{\sigma\sqrt{1 - h_i}}}{\sqrt{\frac{e_{(i)}^Te_{(i)}}{\sigma^2(n-p-1)}}}$$ follows a t-distribution with $(n-1-p)$ degrees of freedom.
I understand why $$\frac{... |
So basically I’ve been taught that in a linear regression model the parameters alpha and beta cannot be squared when defining the equation of our model, does this also apply for the error term (epsilon) or only for the parameters?
|
I have 2 datasets of sibling pairs: one from divorced parents and one from married parents). Each pair has a unique "family" value. For this research question, it does not matter what order the siblings come in. I want to see how similar are sibling1's ratings to sibling2's ratings for the "divorced parents" groups com... |
I was thinking about studying bounds on the multivariate empirical cumulative distribution function for samples from an MCMC chains. The multivariate Dvoretzky–Kiefer–Wolfowitz inequality would seem almost fit for this purpose except it assumes IID samples whereas my samples will be Markovian.
I think that any differen... |
This might a simple question answered elsewhere, but it comes up often in NHST discussions and I've heard conflicting statements. Imagine a metanalysis of 50 trials on 100,000 patients total to examine the question of whether vitamin supplementation lowers all-cause mortality, with the primary outcome being deaths in e... |
Part 1
Say there is a county (or state) that in each of the past 20 elections was 5% more (Blue, or Red) than another county or state.
What is the probability that it would have the same 5% variant in the next election?
Part 2
Say there are multiple such scenarios (say 10). What is the possibility of all occurring? Or,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.