instruction stringlengths 9 38.7k |
|---|
I am doing a random forest and classificatsion tree. I only have numeric variable, no factors, so I have some questions regarding the output.
Background of the variables:
Prob_1 are values between 0-1 (I devided the real values with 100, to have values between 0-1), all of the other variables used for the are between 1... |
The hazard function is commonly used in models using distributions with positive support (gamma, weibull, lognormal, etcetera). However, I have not seen this concept (hazard) being used in the context of models using distributions with support on the entire real line, like the normal, Student-t, logistic, laplace, etce... |
I am trying to understand the link between (rejection) ABC and rejection sampling. For example, this paper states:
Approximate Bayesian Computation (ABC, Sisson et al., 2018) is centered
around the idea of Monte Carlo rejection sampling (Tavaré et al., 1997; Pritchard et al., 1999). Parameters $\theta$ are sampled fro... |
The problem is to distinguish between the definitions of AQL, RQL and reliability in the field of quality control. Let us just pose the context. We wish to calculate the reliability of a manufacturing process and/or the quality of the manufactured pieces by doing attributes testing. The particularity of attributes test... |
I have a dataset consisting of a case group and a control group, each with 8,000 unique individuals. Among the various independent variables, age is also included for each individual. However, I am not interested in age per se; I simply want to use it as a control variable. I have been advised to control for age using ... |
Saltelly et al., in "How to avoid a perfunctory sensitivity analysis" to discourage the use of One-factor-at-a-time have an example with a shpere in a cube and it says in section 3.
"all the points of the OAT design are by construction internal to the sphere."
And then starts for the case of two variables (k=2) and say... |
I am working on ABT index and I calculated the return series. Also, I intend to fit a GARCH(1,1) model to the return series and then calculate the VaR and CVaR as the following image:
I used many approaches and as far as I know, the VaR and CVaR are one value per series. I do not understand the time-varying VaR/CVaR. ... |
Suppose I have a finite data sample $\mathbf{S} = \{ (\mathbf{x}^{(1)}, \mathbf{y}^{(1)}), \dots, (\mathbf{x}^{(N)}, \mathbf{y}^{(N)}) \}$ from an unknown data-generating function of the form
$$ \mathbf{y} = f(\mathbf{x}), \quad \mathbf{x} \in \mathbb{R}^n, \mathbf{y} \in \mathbb{R}^m $$
I will attempt a non-linear reg... |
What are some good resources to learn about image synthesis? What are some of the key concepts or architectures to study?
I understand image synthesis as generating new images with ML techniques.
|
I am analysing data from a 2^3 factorial design in R. I am using blocking, and I was wondering if my reasoning is correct. I am testing reaction time in milliseconds with three factors (Type of test, Hand temperature, and Dominant/NonDominant Hand).
Here is the output for the model:
For the "block" variable, am I cor... |
I am comparing 2 groups of sizes 13 and 28, using the Wilcoxon rank-sum test. While I think this method should not be very susceptible to outliers as it relies on ranks, I still want to investigate if the significant differences (p < 0.05) are reliable. I have tried using a leave-one-out cross-validation method, calcul... |
This is in reference to page 3 of https://arxiv.org/abs/1911.01373
In the following line after equation (3): the author mentioned that the generalised speed measure (a measure of speed for which a proposal distribution converges to its stationary distribution) balances between high entropy of the proposal and the avera... |
I know the principle of nested cross-validation, and it is used for testing model performance. However, when choosing models and selecting hyperparameters we still use normal cross-validation (CV) with grid-search (or other methods). So what is the use of nested CV? Just see the model's performance. Because finally, we... |
I want to test for correlation in a time series model. However, all four independent variables and the dependent variable are non-stationary. I tried taking first, second and third differences but my dependent variable remains non-stationary. I also tried transforming it into a squared variable or logarithm, but the al... |
I need to compare performance of a web-application before and after some code change. We have several pages (call them $P_1$ and $P_2$; in practice there are more than 2), and for each we compare loading times. Let's say samples of $P_i$ loading time before the change are $s_{i1},s_{i2},\ldots$ and after the change $s'... |
Suppose that I have training data with dimension $(N,H,F)$, where $N$ represents the number of different datasets, $H$ is the history size and $F$ is the input size. Normalizing each dataset over the history dimension, and using (for example) a standard-scaler, I should be getting a mean and std tensors $\mu,\sigma$, b... |
I have a dataset predicting disease or not from several different variables. Two of the variables denote the status of pathological lymph nodes - one pertaining to consistency (three levels A, B and not present) and the other to size in mm (0-10, 10-20, 20+ and not present). The problem arises when the lymph node is no... |
I'm working on building/selecting a model to predict the result of a sales lead: whether it's "SOLD" or "NOT SOLD".
My dataset consists of past leads with the following data:
sales rep
product pitched
lead source
date of lead
zipcode
result
The issue I'm running into is that I have a various amount of leads per day p... |
I'm very new to statistics. I have data from some field work and need to test for statistical significant relationships using SPSS. The data is looking for a relationship between urban park quality and human wellbeing. One variable is the wellbeing score which varies, the other is the quality score of the park which is... |
The question is made of 3 parts, 2 of which require the use of Bayes' formula:
(a) At a clinic for patients with suspected malaria, 89 out of a total of 300
were found to actually be infected with malaria.
Use this information to estimate P (I = infected), where I represents
the malaria infection status (infected or n... |
I am fitting a cox proportional hazards model looking at mortality. I have a number of covariates and a specific predictor of interest (inflammation), and I am also looking at how the effect of inflammation on mortality varies between two groups (Frail participants vs. Non-frail participants). Thus far, I have been str... |
Consider the following additive model
\begin{equation*}y=h(x)+v\end{equation*}
where:
$y\in\mathbb{R}^p$ is the observation
$x\in\mathbb{R}^n$ is the estimand
$v$ is noise, distributed according to a PDF $p_v(\cdot)$
$h:\mathbb{R}^n\mapsto\mathbb{R}^n$ is a map that is invertible
It is trivial to see that the likelih... |
When refuting two causal models, model 1 has a bigger p-value and an estimated effect closer to the new effect (compared to model 2). Both can't be refuted because they have a p-value above 0.05.
Is it safe to assume that model 1 will arguably outperform model 2 when applied to new data?
Basically, what I want to know ... |
I have a dataset with spatial grid cells. After performing some spatial diagnostics (Moran's I, LaGrange multiplier tests), it seems that there is spatial dependency in the form of spatial error, so a spatial error model seemed fitting. However, my dependent variable is a count variable and is quite skewed (the standar... |
I have the following problem: I have log-likelihoods that need to be transformed to probabilities. One thing I have attempted is the following. Define $\kappa_{s} := \log \int p (\theta | X_s) \text{d} \theta $ and $\nu_{j,s} := \log p (\theta_j | X_s$ for data-generating processes $X_s$ and parameters $\theta_j$.
The ... |
How would I prove the Perception mistake bound is tight. Avrim Blum’s lecture notes claim that the upper bound for mistakes is $\frac{R}{\gamma}^2$, but I don’t understand how to prove this is mistake bound is tight
|
I am trying to identify if three groups of species (like here) overlap or seperate out. I tried a popular method to identify ellipses:
data(iris)
res.pca <- prcomp(iris[, -5], scale = TRUE)
fviz_pca_biplot(res.pca, label = "var", habillage=iris$Species,
addEllipses=TRUE, ellipse.level=0.95,
... |
I'm curious if there are any common parametric distribution models for mixed discrete/continuous data. For illustration, suppose I have two random vectors, $X_c,X_d$, where $X_c$ is continuous and $X_d$ is discrete. I have data consisting of samples of $(X_c,X_d)$, and I'd like to do some density estimation. Ultimat... |
Suppose that I have $n\gg 500000$ observations, and I specify
$$\mathbf{y} \sim \text{Normal}(\mathbf{X}\boldsymbol{\beta},\sigma^2_y\boldsymbol{\Sigma}_y + \tau \mathbf{K}\mathbf{K}^T),$$ where $\boldsymbol{\Sigma}_y$ is a diagonal matrix and $\mathbf{K}$ is a mapping matrix where there are two 1's in each row and 0's... |
As long as I know, for both ROC and PR curves, the classifier performance is usually measured by the AUC. This might indicate that classifiers with equivalent performance might have different ROC/PR curves.
I am interested in the modification of the PR curve shape without a general improvement in performance. Specifica... |
I'm fine-tuning a large language model to predict binary sentiment, where a false negative is far more costly for my use case than a false positive. I've used weighted cross-entropy to account for this, and when I evaluated my model on the test set, there were a few cases in the test set that were unacceptable misclass... |
Can I use VECM, GARCH and HAR-RV for forecasting of carbon price?
I'm not sure the assumptions of the models don't contradict each other.
|
I'm relatively new to the field of biostats and was reading up on Non-Inferiority Trials and Margins and came across this explanation which is tripping me off a bit.
"For example, the oral Tebipenem HBr study cited above set a Non-Inferiority Margin of -12.5% for the primary endpoint of overall response rate. This mean... |
A background:
I am currently working with the 'elasticnet' package (elasticnet v.1.3) maintained by Hui Zou. This package was developed to accompany Hui Zou and Trevor Hastie's Statistical Society B article "Regularization and variable selection via the elastic net" in which they propose the elastic net method, a meth... |
I have collected percentage data for Rocky shore and summarised it per algae type like the example below:
Low Mid Mid-High High
Brown 23% 13% 3% 40%
Green 0% 8% 14% 18%
Red 12% 6% 12% 0%
How can I transform this percentage coverage data to species abundance data?
Thanks in advan... |
I have been recently been working with the MASS, lars, and glmnet packages to study variable selection and prediction via LASSO, Ridge Regression, and the Elastic Net. To compare these methods against one another, I have been using some Boston Housing Market data (BH0) but I am not entirely sure that this dataset captu... |
How would I go about examining which items on one questionnaire are most associated with the overall score of another questionnaire and each sub scale of this second questionnaire?
|
I would like to compare whether 4 continuous variables have a difference among 3 groups (disease states A, B, C). There are 48 cases in the sample, however, the continuous variables are quite skewed. I have run Kruskal-Wallis with post-hoc Dunn's tests for pairwise comparisons. I would like to however run another analy... |
I have read a paper (https://doi.org/10.1038/s41591-023-02296-6)
in this paper, fig 5, the authors point out:
between-group differences (disease versus health, t-statistics,
two-sided) in body (n = 78, top) and brain (n = 2,309, bottom) features (x axis)
My question is:
It seems to be rare to use the t statistic to ... |
In the code below I test several parametric distributions against the lung dataset from the survival package data for best fit.
My main question with respect to the below code is my use of fitdist(lung$time, dist). Is this the correct usage of the fitdist() function from the firstdistrplus package? Where the only data ... |
I have been trying to define a Gaussian Process from hand by simply writing down the required formulas and apply them to an toy example. Here is what my (noise-free), observed data looks like:
x_observed = np.arange(-5, 5, 0.2).reshape(-1, 1)
y_observed = np.sin(x_train)
fig, ax = plt.subplots(figsize=(12, 8))
ax.scat... |
I've created this regression table, but I'm unsure if this is the correct way to present my results. The dependent variable is the proportion of each frame, and the independent variable is time (from 2012-2022), with the outcomes listed for all 11 frames analysed. These outcomes were all derived 11 separate simple line... |
I have time series with 322 observations. My dataset contains financial data. My endogenous variable, "target" is a binary variable. My exogenous variables are two continuous variables: "market_return" and "retail_reduction_rate" and one binary variable "target_lag1" which is lagged dependent variable. The reason for t... |
From the slides of variational inference, it shows the evidence lower bound ($L$) and the derivative over a variational distribution $q(z_k)$, quoted as follows
$$
L_k = \int q(z_k) E_{-k} \bigg[ \log p(z_k|z_{-k},x) \bigg] dz_k - \int q(z_k) \log q(z_k) dz_k \tag{22}
$$
equation (22) focuses on the $k$th latent varia... |
I am trying to create an ARIMA model which allows to extrapolate a voltage curve of a sensor battery into the future. Is this a possible application scenario at all?
I have four different voltage waveforms from two different sensors (Hourly measured values) that I want to use to train the model (I have inflated each wa... |
I'm working with patient-level healthcare data in a pre vs. post difference-in-differences analysis where the goal is to estimate the average treatment effect for nursing care.
Patients in the treatment group received home visits from a nurse while patients in the control group did not receive visits.
Given that: 1) nu... |
EDITED
I spotted error in my code, and now results are no more contradictory. But still I keep the question for utility of others and myself in understanding meta-analysis and correctly interpret null-hypothesis and results.
Please see below:
Also looking at:
Why is my combined p-value, obtained using the Fisher's me... |
I read generic claims online and in papers that the Linear Discriminant Analysis (LDA) classifier is widely used for many applications including: face recognition, speech recognition, medical diagnosis, etc... Many research papers also propagate these claims with no mention of actual systems.
But this suggests that the... |
For the Rao Score Test, we usually reject for large values of the score when are testing $H_0: \theta = \theta_0$ vs $H_1: \theta > \theta_0.$ I am confused why we reject for large values, instead of for small (negative) values of the score.
There are two ways of looking at this, and I am getting confused about how to ... |
In a linear regression of multiple variables,
$$
y = X\beta^T + \epsilon
$$,
where $X$ and $y$ are the independent and dependent variables, we can estimate OLS $\beta$ as follows:
$$
\hat \beta = (X^T X)^{-1} X^T y
$$
I wonder if it is possible to design a neural network such that given $X$ and $y$ (with a variable num... |
I was thinking about the paradigm to decide the best split in decision tree, so why do we really need IG? can't we directly use the entropy of the split and decide the best split based on that?
Consider a node at which you are looking for the best split. Now since the Entropy of root node for all the features would hav... |
For any given covariance matrix, will the sum of the diagonal elements always be bigger than the sum of the off-diagonal elements?
Let $\sigma_i$ be the standard deviation of the $i^\text{th}$ term of a $n\times n$ covariance matrix and $\rho_{ij}$ the correlation between the $i^\text{th}$ and $j^\text{th}$ terms. Is t... |
Using R, I built 2 logistic regression models (with outcome variable being depression status - present or absent) and used leave one out cross validation to obtain predicted values for the dataset. I then used the predict function to extract the linear probability for each observation in the data set. I've also calcula... |
In our statistics course we are learned about MA(q) models.
$\epsilon_{t} = X_{t} + \theta_{0}\epsilon_{t-1} + ... + \theta_{q}\epsilon_{t-q}$
But if we think about regression, more like the AR(p) process, if the parameters that are estimated are larger, then this implies that a covariate has a large effect on the resp... |
I know how to use these packages (VIP etc) with tidymodels to evaluate individual feature contribution/importance for a model such as random forest. But I'd like to know how to evaluate a combined or joint importance for two or more features. Probably I cannot just simply add importance scores of these features togethe... |
I just started learning about differential privacy (DP), and I've been trying to figure out how DP is affected when 1 or more column is added to the data. Specifically, suppose:
$$Pr(F(X) \in S) \leq \exp(\epsilon) Pr(F(X') \in S)$$
where $X$ and $X'$ differ by only one data point.
If I add one column to $X$ to create ... |
I am running a regression model and seeking to interpret the results of svyglm, for a continuous outcome variable and explanatory variables that are both categorical and continuous, when complex sampling design weights are accounted for. Are the results the same as an interpretation with linear regression analysis?
|
Let's say we're going to train a classifier with the full data set. There's also a reject logic for ambiguous regions in the data. So, at the end, the final system outputs reject or 0 or 1. That is, reject data points in regions with high ambiguity, otherwise use the original model predictions.
If you were to see a s... |
I’m getting a bit confused about who to include in the control and treatment pools and would appreciate the help. I need to estimate the effect of treatment where 100% of the population was assigned a push notification that leads to a treatment, but not all of them saw it and are therefore not treated (or know they wer... |
I've read that it's important to report the overall fit of the model. I'm more interested in the individual relationships between IVs and DVs, but worried that the fact the overall model doesn't fit (pillai's trace/wilks' lambda non-significant) makes these relationships irrelevant, or something.
But a lot, perhaps the... |
The data I collected was measuring plant shoot masses and these were extremely small, so I could only find the total mass of the shoots from 30 plants. Hence, I only have the mean and none of the individual values for the shoot masses in each of the five groups. Is there any statistical test that would work with this d... |
I was reading that the Kolmogorov Smirnov 2 sample test is consistent, that is Probability of rejection under $H_1$ is 1 for sample size going to infinity.
Say we have 2 random variables X and Y. K-S Test checks if $F=G$.
The test statistics is: $sup_z|F_n(z)-G_n(z)|$
The test is consistent (for some level $\alpha$) m... |
Biclustering encompasses techniques for clustering a (usually) data matrix among its rows and columns. Some forms of data are multidimensional arrays rather than 2D arrays, and it would be beneficial to cluster across multiple modes (that is "axes") of a data array.
Is there a literature on generalizations of bicluster... |
I've come across some papers employing z-scores of permutation null distributions as a primary metric in neuroscience (for an example, see here).
The authors computed a coefficient of interest in a multiple linear regression and then permuted the order of the predictors to obtain a permutation null distribution of that... |
When I plot a contour plot of a variable over two principal components I can see what appears to be hills and valleys. But I also know I am only looking at the contours over a projection.
Here is a quick self-contained example.
import matplotlib.pyplot as plt
from sklearn.datasets import load_diabetes
from sklearn.deco... |
Given probability distributions of random variable $X,Y$, without any additional assumptions, is there any nice representation or properties of the combination $E[XY]-E[X^2]-E[Y^2]$? If not, is there any nice feature that arises with some additional assumptions? I tried to rewrite as covariance and variance, but they d... |
Consider a linear regression model $\boldsymbol y=X\boldsymbol\beta+\boldsymbol\varepsilon$, where $\boldsymbol y$ is an $n\times 1$ response vector, $X$ is an $n\times p$ matrix of covariates (fixed), and the error vector $\boldsymbol\varepsilon$ is multivariate normal $N_n(\boldsymbol 0,\sigma^2I)$.
The $i$th interna... |
There is a class of MCMC algorithms which are called "ensemble samplers", so-called because they use an ensemble of walkers whose positions depend on each other to sample from the posterior distribution. The one I'm most familiar with is Goodman and Weare's affine-invariant ensemble sampler, as I have used it with the ... |
This is a problem I have been curious about for some time now.
Suppose:
There is a coin where if it lands head then the probability of the next flip being heads is 0.6 (and if tails then the next flip being tails is also 0.6)
There are 100 students in a class
Each student flips this coin a random number of times
The l... |
When using propensity score matching or weighting, a column of weights is generated that is used to estimate the effect of interest.
According to a blog I read, there are three types of weights commonly used in statistics:
aweight: These weights describe the precision (1/variance) of observations.
fweight: Used in cat... |
these are the results obtained for the square gap decomposition using the Oaxaca-Blinders method in Python:
Oaxaca-Blinder Three-fold Effects
Endowment Effect: -0.02663
Coefficient Effect: 0.19933
Interaction Effect: 0.05553
Gap: 0.22824
Oaxaca-Blinder Two-fold Effects
Unexplained Effect: 0.23207
Explained Effect: -0.0... |
I was wondering whether it is possible that a t test and a point biserial correlation can give different results (t-test shows groups differ significantly, correlation implies that variable does not increase/decrease by group).
If yes, why is that?
|
I am faced with the task, using the data of Sentinel-2 channels, to build a classifier based on time series (time series cassification), where the dependent variable is the wheat class (1) or another crop (0).
I am using R language.
For greater clarity, I will give a small example of data.
exampl=structure(list(date =... |
Suppose that I have data with dimension $(N,H,F)$, where $N$ represents the number of different datasets, $H$ is the history size and $F$ is the input size. how would you split it into a train-validation test?
Here are my thoughts, with the relevant problems for each
based on the dataset index (syntaxed as (dataset_ra... |
I see that I can get polychoric correlation coefficients using package girth.
I have following data:
y1 = [0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, ]
y2 = [0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, ]
I use the package to get polychoric correlation matrix:
data = np.array([y1, y2])
polychoric_corr = gcm.po... |
Is it possible to calculate the weight vector anlyticaly for linear classifier? Just like we can do it for linear regression where $w_* = (X^T*X)^{-1} * X^T * y$ is the vector of weights.
|
I would like to examine the relationship of a variable Y with a social construct.
There are three tests (A,B,C) that more or less characterise different aspects of the construct
(f.e., A= laboratory test versus B= questionnaire about everyday life, ...).
Also, the disadvantage that biases one test are partially resolve... |
Here is the data.
when the numeric variable is below 100, I can get its accurate number but when it is above 100, I can only group them into >100, >200 and >300. The explaining variable is discontious variable with 2 groups only.
how can I analyse this kind of data as the data exhibit both continuous characteristics an... |
In 'big data' settings where the number of samples $n$ may be very large (for fixed number of features), is bagging less or more effective at reducing variance? I heard the claim that it is less effective but intuitively it should be more effective, since the chance of overlap between bootstrap samples must be smaller,... |
I want to run an LMM with a 3-level fixed factor "block_condition" (levels: A,B,C) and 2-level block_number (1,2). SubjectID was also added as a random factor to the model.
Now the problem is that I have for block_condition A and B - two repetitions/levels (A1, A2, and B1, B2), but in condition C, I have only 1 repetit... |
I am working on my school project, is about the study of household expenditure pattern using regression approach. Say that I having following linear ols regression model, where y is household expenditure.
$$
\begin{equation}
y= ε+B_0+ ∑_1^k B_k X_k
\end{equation}
$$
where $y$ is the dependent variable, $X$ are the in... |
What test would fit for the following research question?
Data: measured in 5 subsequent years, is within design
Dependent variable = A is categorical and ordinal
Independent variables = B, C, D and E, where D and E are categorical and ordinal and B and C are both numerical.
I would like to test whether a change in B or... |
I heard that a sufficient amount of variance/heterogenity is needed in order to get reasonable results for a correlation test.
Why is that and what solutions exist when variance is too low?
Is splitting the obervations by a cut-off reasonable? F.e., the median?
(This question also relates to floor and ceiling effects)
|
I am using girth package which uses polychoric correlation and then applies factor analysis. I am using the example code given on above webpage under the subheading "Polychoric Correlation Estimation":
import girth.synthetic as gsyn
import girth.factoranalysis as gfa
import girth.common as gcm
discrimination = np.ran... |
maybe someone can help me with my data.
I analyse how macroeconomic indicators affect stock index. For this analysis I prefer VAR model.In my case data of all variables are non-stationary - I have checked it by plots and also with adf test.Also I made unit root test and it says that all variables have unit root. After ... |
What are not-too-complex methods to perform logistic modeling if some of the predictors are right-censored?
|
I have a log-level model and I have trouble with the interpretation when I have an interaction term of two continuous variables.
I came across this when I tried to get the grips of the difference when the covariates are standardized or just centered.
So usually in a log level model I would interpret a one unit increase... |
Is Design Effect (DEFF) possible to be zero?
Note: Design Effect (DEFF) is defined as the ratio of the variance of an estimator
under a certain survey design (non SRS) to the variance of the estimator under
SRS (simple random sampling).
|
I'm studying the endowment effect through the exchange paradigm. Participants received an object A or B. Then the experimenter asks the participants if they accept to trade their object with the alternative object.
I would like to compare the proportion of participants who refuse to trade A with B, with the proportion ... |
Suppose that Walmart has 1,000 stores. It has a 20% coupon for cereal, and it hypothesizes that the coupon will increase the sales of cereal by 3%.
Walmart put the coupon in 100 stores on 2022-05-01; the other 900 stores continue to have no coupon. Unfortunately, it does NOT have any sales data from before 2022-05-01. ... |
I am new to generalization techniques in machine learning and I have been experimenting with them recently. I have observed that when I apply them to my model, the performance of the model improves, but the results also become more variable when I try to rebuild the model. For example:
Regular model has an r squared o... |
This table shows the results of a Kruskal-Wallis test, but I am not sure what the column values represent. I thought the Kruskal-Wallis test statistic is always positive and that the test merely shows whether there is a difference between groups. In the text, the author makes statements such as:
Compared to all othe... |
I am trying to measure the effect of a campaign on the knowledge of a certain disease on population X
method 1: measure the same individual’s knowledge two times once before and once after passing through the campaign
method 2: measure two different groups from the same population, one group has passed though the campa... |
1. Could you provide an example of how to hypothesize the variance and covariance expectations for a multi-level model with random slopes and random intercepts?
I do not yet have access to my data, so I am unsure how to write the model formula to determine the E[Var] and E[Cov].
I am learning about mixed-effect modelin... |
Suppose I have 25 dice. I roll them all each day unless the number '6' appears, in which case I discard the die. For example, suppose on day 1, two of the dice roll a 6. I remove them. On the second day, I therefore roll 23 dice. 5 of them land on a 6, so I remove those. On the third day, I roll 18 dice, remove those t... |
I'm analysing slightly unbalanced panel data in r (n = 136, T = 9-213, N = 24894) and planning on using fixed or random effects (Hausman test indicates random effects, but high likelihood of omitted variable bias in the model due to lack of available data so unsure whether that means that random should be ruled out in ... |
I am having trouble learning the relevant concepts of t-test.
Even if you search the web or books, the explanation is slightly different, it causes confusion.
(Please understand that I am not a statistics or math major)
[On the requirements of t-test]
(assume we are interested in the mean value of something)
Someone s... |
This question is a generalization of another question that I asked here.
Suppose that Walmart has 1,000 stores. It has a 20% coupon for cereal, and it hypothesizes that the coupon will increase the sales of cereal by 3%.
Walmart put the coupon in 100 stores on 2022-05-01; the other 900 stores continue to have no coupon... |
I have a dataset with counts of birds in two locations over time, and am interested in describing the difference in trends in bird counts between these locations. The counts are conducted by multiple observers, which are included as a random effect. The data is best modelled using generalised poisson or negative binomi... |
I'm trying to understand the RESET Test for Regression Models. We assume that the dependend variable y is a function of the indenpendend variable x. We can write $y=f(x)\approx \beta_0+\beta_1x+\beta_2x^2+\beta_3x^3+\ldots$ because of the Taylor Expansion.
Now my question: Why don't we regress y on $x, x^2, x^3$ and lo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.