instruction stringlengths 9 38.7k |
|---|
While running 20 simutanious A/A tests, should each of them be allocated to 100% traffic? Or should all of them cumulatively be allocated to 100% traffic?
|
I have doubts about how to correctly analyze the following study, since it is neither a nested case control nor a case-cohort study, but it is a previous matched case-control study in which the "Case / Control" variable will now be an exposure variable with exposure time.
For a population (a whole country) I have ALL t... |
Assuming that we have an AR(1) process:
$$X_t=\rho X_{t-1}+\varepsilon_t,\quad\varepsilon\sim IIDN(0,1)$$
And further assuming that $\rho=1$ and $X_0=0$ we have a random walk process:
$$X_t=\sum_{i=1}^t\varepsilon_t$$
Is this process i.d.d.?
If yes/no why is that the case?
|
I am trying to implement a neural network I found on an open access paper as I have a similar problem and I am struggling with it. I am using tensorflow.keras for the implementation.
Here is the paper: https://www.mdpi.com/2072-4292/13/19/3800/xml
The authors work with data of size 100x100x100x2. My data are of size 1... |
I have been directed here from the main stackoverflow site, where i described my problem: here.
Basically i have a set of sports data containing shots with their distance to the goal and the result (make / miss). I would like to verify two hypotheses:
h1: the probability of scoring is monotonously falling with increasi... |
I have a conditional quadratic latent growth curve model and am wondering how to interpret the results.
My predictor of interest is significantly associated with the slope factor (B = -0.45, p = .001) and slope2 factor (B = 0.14, p = .002) - what does this suggest?
In case relevant (?) the intercepts for the slope and ... |
My question is a "semantic" point of view and it's very easy.
Given that Latent Class Analysis (LCA) can be defined as a form of "unsupervised learning", I was wondering whether we can consider LCA among the broad umbrella of "Machine Learning" techniques?
From a broader perspective, this question may be translated to ... |
Assume I have a dataset that ranges from 2014-2022 composed of survey responses from two different groups e.g. store 1 and store 2. I want to test whether there is a statistically significant difference between the number or percentage of those that responded 'agree' of 'strongly agree' between the two groups over time... |
I am really struggling to find out a proper statistical test to use for my dataset. Below is my dataset description:
Latency of response (in ms) collected from 24 animals
Data from each animal has been collected repeatedly: several days, but also several times within a day.
Depending on the animal, it has ~830 data po... |
I am conducting 6x2 ANOVA with the within subject factor "time" (6 time points) and the with-subject factor "type of music" (fast or slow). The hypothesis is that slow music becomes less pleasant over time.
The results show a significant main effect for "time", and for "type of music" but no significant interaction.
Pa... |
For illustration I will use R, but the question is general statistical question, totally not R related.
Assume I have a numerical variable and categorical variable with 3 levels, like A, B and C, for which I fit a liner model, lm(value ~ variable).
By using the so called Wald's approach, I can test various hypotheses w... |
I'm considering a multi-class classifying neural network with softmax on the final layer. Should one of the classes of the weight matrix of the final layer not be optimised over to account for the fact that the probabilities have to sum to one? I don't see any mention of this in the textbooks I've been reading on neura... |
Let $X=\lVert M^\top p\rVert_2$, where $M$ is an $n\times n$ non-random matrix and $p\sim N(0,I_{n\times n})$ is an $n\times 1$ vector, and$\lVert \cdot\rVert_2$ is the Euclidean norm.
Using some linear algebra, we can determine that
\begin{equation}
\mathbb{E}[X^2]=tr(MM^\top),
\end{equation}
where $tr(.)$ is the trac... |
I want to test for relative global impact of absolute latitude and altitude on a variable that ranges from 0 to 1 (six possible values). I have thousands of observations sampled across the world. I harbour some doubts regarding doing that test:
Do I need to account for spatial dependence given that the data span the wh... |
I have a set of data in tabular form which records the time it takes 500 people to bake a cake. Each person is assigned a single time: it may take Tom 30 minutes, or Mike 60 minutes to bake a cake.
What statistical tools can I use to capture the fastest bakers? The hope is that by identifying the fastest bakers I can t... |
Could we have two answers to the same question?
For example, if we refer to the comparison between the same variable that is measured in two different places, it seems clear that we are talking about paired samples.
However, if we refer to the same data as two different variables, they would be independent samples.
Wha... |
For random variable $Z$ from a $Gamma(p), p > 0$ distribution we know that the expected value of $E[Z^s]$ is simply the gamma function at $p+s$ divided by the gamma function at $p$, for $p+s$ > 0.
But what if we are interested in calculating $E[Z^{-2}]$ and the variance of $Z^{-2}$ ?
We can just use the same method req... |
I have a composite score that is made up of the multiplication of many components.
I would like to weight each component individually.
example:
score_a, score_b, score_c = 0.1, 0.2, 0.3
weight_a, weight_b, weight_c = 0.25, 0.5, 0.25
I can weight individual components like this:
composite_score = (score_a ** w... |
I have a dataset of almost 100 variables. These variables are Likert scale questions from 1 to 5 or 1 to 3.
I converted the variables that I wanted to impute to categorical variables. Then I used this code:
imputed_data <- mice(selected_columns, m = 5, maxit = 10, method = "pmm", seed = 500)
Now I have five versions o... |
I have a data set where abundance is measured at 3 treatment levels from the same transects over the span of 3 months. I read that to account for repeated measures, I could smooth time (day of the year) for each treatment effect, leading me to code my negative binomial model like this using mgcv:
model <- gam(Abundance... |
If I have five variables, each with four sub-questions, In each sub-question, I have:
1 = I usually don't do this at all
2 = I usually do this a little bit
3 = I usually do this a medium amount
4 = I usually do this a lot
If the values of my five variables are the sum of their sub-questions' scores, do I need to sta... |
Does Cooks Distance tell us how much the estimated parameter values change when the ith observation is removed or how much the fitted values change when the ith observation is removed?
I'm being told both statements are true given that the fitted values are a function of the parameter values but not sure this statement... |
I am working on revising a sales compensation plan and want to simulate various possible future scenarios. To do this I am using an empirical distribution + bootstrapping against 30K real sales transactions. I've got pretty much everything worked out except for introducing behavior change and measuring how that affects... |
Is there an efficient (linear or sub quadratic) algorithm to find the division point for real numbers? For example, I have a bunch of real number on the Real line and I am looking for a point which divides the line into left and right intervals? For example [-10,-9, -6, 1, 2, 3, -11, 5, 6, 8] what point is optimal to d... |
I'm dealing with a longitudinal survey data now. Do we need to use survey sample weights while running panel data models (e.g., Fixed Effects, Random Effects)? In other words, would it be fine if I simply run a FE for longitudinal survey data without using weights?
Thank you!
|
I've tried researching this problem but I'm not sure the appropriate test or how to proceed. For multiple websites I wanted to determine if changing verbiage in the checkout process would lead to lower cart abandonment.
I've taken the sites and randomly assignment them to two groups. Group A had the new verbiage for a ... |
Motivation:
I would like to forecast Canadian Inflation Index using N-HITS or N-BEATS model (I have considered both pytorch forecasting package and neuralforecast python packages).
I hope to use exogenous variables such as bank rate, employment rate, labor participation in forecast, and I also want to use the different... |
My understanding is that a time series that does not appear to have constant variance over time is not stationary and that the Dickey Fuller test tests for stationarity (with the null hypothesis that the series is not stationary).
I created a synthetic series of 1000 points where each successive point is drawn from a G... |
I am trying to understand the independent t-test formula. It is to test if A and B have the same mean, assuming A and B have the same variance. The t is calculated by the following formula:
$A = A_1, A_2, A_3, ..., A_{n_A}$
$B = B_1, B_2, B_3, ..., B_{n_B}$
$S = \frac{(n_A-1)s_A^2+(n_B-1)s_B^2}{n_A+n_B-2}$
$t = \frac{m... |
I have two categorical columns in my dataset and I want to fit the GAM model on my data. I remove the intercept in the model by subtracting 1 from the model formula so that no category is used as the base category. However, this works only for one categorical column. In the resulting model, the intercept AND the refere... |
Suppose I estimate the following model:
$$
y_t = \beta_0 + \beta_1 x_t + \eta_t
$$
where $\eta_t$ is an AR(1) model, say. I can do that with forecast::Arima() as follows:
#fake data
n <- 100
x <- 1:n
y <- 1 -3*x + arima.sim(model = list(ar = .1), n)
# estimate model
mod <- forecast::Arima(y, order = c(1,0,0), xreg = x... |
My friend asked me the following question:
Would you rather:
Take 250K and walk
Have 10 attempts at a half-court basketball shot for 10M
(You cannot win more than once. You stop shooting
after the first made shot should there be one)
I thought this would be a perfect example for modelling a binomial distribution. B... |
I'm looking for an upper bound on $E_X\left[\left\vert X^2-(E[X])^2\right\vert\right]$, where $X$ is a nonnegative random variable, with known $E[X]$ and $E[X^2]$, but unknown higher moments.
A lower bound is $E[X^2]-(E[X])^2$, and I wonder if a there is a constant multiple of this as an upper bound?
|
model raises a warning: glm.fit: algorithm did not converge. One of the suspected causes of this error in the model could be due to perfect separation (source: https://www.bookdown.org/rwnahhas/RMPH/blr-separation.html). I want to diagnose the variable causing the error caused by perfect separation by doing a boxplot a... |
Let $X_1,\cdots,X_n$ and $Y_1,\cdots,Y_n$ are iid from $X\sim \operatorname{Exponential}(\lambda)$ and $\sim\operatorname{Bernoulli}(p)$ respectively, where $X$ and $Y$ are independent.
Given $n,\lambda,p$ and $c$, we consider computing
$$
P\left(\sum_{i=1}^nX_iY_i > c \right)
$$
Let $S=\sum_{i=1}^nS_i=\sum_{i=1}^nX_iY... |
I have a question about interpreting logistic coefficient estimates with a binary dependent variable and fixed effects. In particular, I am focused on cases where each fixed effect group has only two observations. For example, consider a medical trial where subject participants are measured before and after treatment a... |
This question is from the textbook The Element of Statistical Learning chapter 3.
Let me describe the meaning of each variable first.
$A_k$: the active set of variables in the $k$-th step.
$\beta_{A_k}$: the coefficient vector for these variables at the beginning of the $k$-th step ($k-1$ nonzero values, and the one j... |
I am reading a "Calibrated Structured Prediction by Kuleshov and Liang" link.
Calibration and sharpness. Given a forecaster $F : X → [0, 1]$, define $T(x) = \mathbb{E}[y| F(x)]$ to be the true probability of $y = 1$ given a that $x$ received a forecast $F(x)$. We can use $T$ to decompose the $l_2$ prediction loss as f... |
I am trying to estimate dyadic reciprocity in a binary outcome collected with asymmetric block design (speed-dating where each person indicates whether or not they are interested in a second date with each partner). I am aware that dyadic reciprocity in the social relations model can be estimated by the ratio of the dy... |
I would like to estimate the number of effective samples in a time seris, that we can suppose to be stationary. Here for example https://emcee.readthedocs.io/en/latest/tutorials/autocorr/ they suggest to use:
$$\alpha=1+2\sum_{i=1}^{+\infty}\rho_i$$
Then $N_{eff}=N/\alpha$.
I did some calculation and I thought to justi... |
I'm working with the ALE implementation provided by the iml package in R. This package is accompanied by the usual documentation, a vignette and even a very nice book.
I've studied all three of them trying to figure out the exact interpretation of the resulting ALE values in a classification task. I do have a high leve... |
When we use approximation methods to try to approximate the predictive distribution, I am slightly troubled by $p(y(x)|D) = \int p(y(x)|w)p(w|D) dw$. Since $y(x) = f(w, x)$ (as $y(x)$ is the neural network model) and $x$ is a fixed input - so surely $p(y(x)|w)$ is deterministic and therefore a point distribution?
More ... |
So I'm analyzing data from a paper I found, which includes categorical variables like sex and disease severity as well as lipidomics data. I wanted to try using elastic-net regression to find parameters that were associated with patient death and with disease. I decided to use the R glmnet package and fit two models on... |
As the question states, what is the distribution of the predicted $y$ values in linear regression? I'm sure this question has been answered somewhere before but I can't seem to find it for some reason.
Edit: forgot to mention that I'm making standard homoskedastic normal residual assumptions.
|
I'm training a regression model (probably gradient boosting based) that has some time based features. Mainly in the form of the day, month, year and day_of_week.
Results change based on whether its a weekend or not, or if there is a public holiday in the next 5 days, etc.
Might be a very stupid question but I am not ex... |
If n is large enough to justify the Central Limit Theorem, then we have the pivotal quantity:
$$\mathbb{P} \Bigg( - z_{\alpha/2} \leqslant \frac{\bar{X} - \mu}{\sigma / \sqrt{n}} \leqslant z_{\alpha/2} \Bigg) \approx 1- \alpha.$$
Rewriting it to get in the form of Confidence Intervals:
$$\mathbb{P} \Bigg( \bar{X} - \fr... |
I am doing trend analysis with Mann-Kendall and Sen's slope in R. I am getting a significant trend (tau = 0.242, p < 0.05), but when I calculate the slope I get 0 ± 0. Why is this happening? I have performed these commands with other data and this never heppened...am I missing something?
Data are frequencies (number of... |
I am planning to launch an A/B test and there's a concern about a possible primacy/novelty effect. I've decided to segment users into two segments (New Users, Returning Users) and estimate if the effect of the treatment significantly different between the segments. The logic is following: if I detect the difference bet... |
I have the following problem. I have the following Kalman filter:
$ \boldsymbol{x}_k=\boldsymbol{x}_{k-1} + \boldsymbol{w}_k$
$ \boldsymbol{y}_k=h(\boldsymbol{x}_{k}, \boldsymbol{v}_k)$
where $\boldsymbol{w}_k$ and $\boldsymbol{w}_k$ are the process and observation noises.
I would like to ask you, if $\boldsymbol{v}_k$... |
I had asked this question on Math stackexchange once before and now again but this does not seem to be drawing too much attention. Since this is a question that can be safely classified as non-measure theoratic probability, I think this will get enough attention here.
Consider a circle $S$ of length $\theta$. Now suppo... |
I hope this question is simple enough, suits this forum and does not consume much of your time. Essentially, want to make sure I have the appropriate design that answers my research question without interference from any confounding variables.
I want to specifically test the effect of an independent variable emotional ... |
If I'm understanding correctly, calculating p-values from a t-statistic is just an integral of the t-distribution pdf, and so if two t-stats have the same number of degrees of freedom then the larger t-stat should have a larger p-value.
|
I am working with country-year panel data in R. There is an increasing trend for both my dependent variable and main independent variable with year. But, while my dependent variable is yearly changing data for each country-year, the main independent variable is changing with elections for each country. So it is usually... |
I am analysing the effect of cover of two invasive species (Solidago spp.) on the diversity of invaded plant communities. I am using a linear mixed model - the function lmer in the R package lme4. The response variable is species richness, the explanatory variables are categorical - invasive species (2 levels), cover o... |
can someone explain the effect of different initialization to state-value function, and specifically to the terminal state? in the book "Reinforcement Learning: An Introduction" it was mentioned to initialize the terminal state-value to zero but without an explanation.
Does someone have exmaples where doing so will mat... |
I would like to see a worked example of doing an expanded gage R&R study. Expanded means the gage is varied, as well as the parts, operators, and trials that vary in a standard GR&R study. Attribute means the measured data is pass/fail instead of continuous data such as length in a standard GR&R study. Is there an exis... |
I am trying to fit an ARMAX model to some data in python and I am not exactly an expert in the field and I'm having a hard time understanding statsmodels fitting options. By the way my statsmodels version is 0.14.
My question concerns the actual fitting options in this documentation which I assume is the correct one (f... |
I am working on a binary text classification task, where the input is text (~100 words long, but length varies). I am using a fine-tuned BERT-based model. My goal is to get insights about which tokens are important for predicting pos/neg class across the test set (global explanation). Since SHAP values are calculated ... |
I am interested in comparing the prevalence of common mental disorders (CMDs) such as posttraumatic stress disorder (PTSD), anxiety, and depression.
I would like to know whether the prevalence I obtained (Prev. 1) calculated with High * 100 / N is statistically different from the prevalence obtained by the WHO (Prev. 2... |
Background
Exercise 3.12 of "Elements of Statistical Learning" by by Hastie, Tibshirani, and Friedman reads as follows:
Show that the ridge regression estimates can be obtained by ordinary least squares regression on an augmented data set. We augment the centered matrix $X$ with $p$ additional rows $\sqrt{\lambda}I_p$... |
Goals:
Given approximately 11 years of time series data, to determine how much of this data should be reserved for in-sample and out-of-sample evaluation when using the data in the development of a forecasting system
To become familiar with any potential techniques, if any, that can be used to determine an in-sample a... |
I am interested in using offline reinforcement learning to develop heuristics (aka dynamic treatment regimens) for when to send certain notifications to mobile app users. I am unclear what the nuts and bolts are of the actual offline reinforcement learning. If I were to use Q learning, would I get a model that is int... |
In roullette (say European with 37 slots) when the wheel is fair and the success is predefined as hitting a specific number (say $13$) the number of successful outcomes in $n$ spins/trials should follow the binomial distribution with $p=1/37,$ I figured.
But what happens if instead of selecting $13$ as a success a prio... |
I would like to know what would be the disadvantages of sampling from a Bernoulli with p probability (p being the output of a logistic regression) to generate the binary classification?
Choosing a threshold to classify the logistic regression output probability p seems to be the most common approach. I can understand t... |
Suppose that we have a population of 1000 items assigned to multiple classes (one item to one class only). The maximum number of possible classes is 200 and the distribution of items across the classes varies. The task is to check if the classification is correct on a smaller sample.
Some items (10-20%) are selected au... |
I am a product manager for a data analytics startup, and on our platform our clients end up with large tables of data about their customers which has many attributes, which are of mixed datatype: some attributes are numeric, some date, some boolean, and some categorical with arbitrary cardinality. These users will cre... |
I have health related data sets such as age specific mortality of all deaths in specified areas and time periods. Since I have anonymised records for each event, I can calculate indicators of central tendency. Do I need to calculate confidence intervals when describing the whole population included?
Some of my colleagu... |
I have a GAM of the form:
Abundance ~ Treatment + s(KelpCover) + s(DayofYear, by=Treatment)
Where Abundance is a count of individuals in a quadrat, Treatment has 3 levels, KelpCover is percentage of kelp covering the quadrat to the nearest 10%, and day of the year is the day the data was collected on. KelpCover has a ... |
I am reading a slide which says GLM are neural networks.
https://owars.info/mario/2020_Wuthrich.pdf
The authors showed that if you have an exponential function as the activation function of a very simple 1-layer neural network, then it corresponds to Poisson regression, which is a type of GLM.
My question is: for the g... |
Using the R package oolong (oolong), I used Fisher's method to combine the p-values of three binomial tests. I have difficulty understanding the combined p-value. I understood it to mean that the combined p-value tells me whether all null hypotheses were true. What exactly needs to be assessed for this? Reading this Un... |
I am running a basic linear (and then logistic) regression that incorporates basic survey weights. I would like to specify the general regression equation with the survey weights for a manuscript. But I cannot find an easily interpretable article that shows what a regression line of the form $y=a+xb+u$ looks like with ... |
The first comment under the question says it has 'non-zero probability'. I don't see how that is the case, as 1 divided by countable infinity should still be 0, which is same in value as 1 divided by uncountable infinity. Also I think the conclusion should be the same regardless of whether its domain is a finite interv... |
The mean selling price of new homes in a town over a year was \$2,200,000. The population standard deviation is \$200,000 . A random sample of 81 new home sales from this city was taken. What is the probability that the sample mean selling price was more than \$2,500,000?
My Doubt -
In the solution which I have, the so... |
I have a set of insect traps, where I have counts of beetles per year. I have several records per each trap and year. I would like to estimate the number of beetles per trap, given several predictors. As the same time, I would like to account for the spatial and temporal autocorrelation, and for a special design for my... |
As part of a personal journey to learn inferential statistics, I am trying to understand if and how income levels influence political views, using data from the general Social Survey (GSS) found here
I've proceeded as shown below; however, I don't feel like the p value, which is small enough here to show significance, ... |
I am currently working on a personal project for predicting financial equities movements into 3 classes. The three classes are 1.) above a certain percentage move within a certain timeframe, 2.) below a certain percentage move within a certain timeframe, or 3.) a move that is in between the two previous classes (AKA do... |
In repeated measures longitudinal studies, you only have few measurements for each subject
We fit longitudinal regression to this data and estimate regression coefficients for the different subjects and variance of these (ex: individual level, random effects)
But I am still confused about this.
We are estimating coeffi... |
I am trying to use the Kullback-Leibler as an R2 value for goodnes-of-fit for GLM models.
The R package performance defines their function as:
klr2 <- 1 - (model$deviance / model$null.deviance)
where deviance = 2 * loglik(full model) - loglik(reduced or fitted model) and
null deviance = 2 * loglik(full model) - loglik... |
I derived the average number of trials to see x% of a dataset, if during each trial I randomly sample p% of that dataset with replacement (hopefully this is correct):
$\frac{log(1-x)}{log(1-p)}$
Now I would like to extend this to the following scenario: in a single trial, first I randomly sample p% of the dataset, then... |
I want to fit Y using M alone
I want to also fit Y using M+P
M<-c(12.7,13.7,15.6,14.5,17.4)
N<-c(0.27,0.29,0.27,0.28,0.25)
P<-c(-0.55,-0.47,-0.49,-0.48,-0.44)
I fitted the following
df1<- data.frame(X1=M, Y=N, X2=P)
Fit<-nls(Y~pweibull(M, shape= shape, scale= scale), data= df1, start=list(shape=0.1, scale=1))
Fit<-nls... |
Let $\mathcal{A}=\{ A_1,A_2,\dots,A_n \} \subseteq \mathcal{S}^p_{++}$ be a set of real positive-definite matrices sampled uniformly with a fixed trace (say, using this algorithm).
To convert each $A_i$ into a positive-semidefinite matrix $B_i$ of rank $k<p$, I want to do Cholesky decomposition $A_i=U^T_iU_i$, set $p-k... |
I'm working on plotting census data, which has a fairly high non-response rate for some questions (5% or higher). This could actually shift the way we interpret the results in quite significant ways (e.g. there are more non-responses than there are answers for some of the categories).
It doesn't seem accurate to repres... |
Consider 3 random variables $X$, $Y$ and $Z$. Under which conditions would we have $P(X\mid Y,Z) = P(X\mid Z)$?
|
Given taxi demand time series of towns in a country. I would like to do demand forecasting.
I noticed that when the town's time series is zero inflated the prediction is poor. However, when these sparse time series are spatially and temporally aggregated into fewer time series, trend and seasonal patterns start to emer... |
I am currently trying to come up with a statistical model for my hypothesis. In my experiment there are two conditions (listen/describing). Each condition takes place for 20 seconds per trial. There are 50 trials in total. So we have 20 seconds listening -> 20 seconds generating -> 5 seconds break and repeat that 50 ti... |
I have been reading Boyd and Vandenberghe's book on optimisation, and wanted to understand more about weighted least squares in regression which they touch on a bit. This is used when the "constant variance" assumption is violated. However, I have not been able to understand properly what this assumption really means.
... |
My question is a follow-up of posts such as this.
To summarise, I am given say 1000 data points.
I want to fit say Random Forest and optimise among $n$ choices of hyperparameters using k-fold cross-validation.
I have trained $n \times k$ models and can select the best choice among the $n$ hyperparameters sets (having $... |
Consider the case of measurement error with a single explanatory variable measured with error
\begin{equation}
y=\beta_0 + \beta_1 x_1 + \beta_2 x_2 + ... + \beta_k x^{\ast}_k + \nu
\label{equation_mesurement}
\end{equation}
where $y,x_1,x_2,..,x_{k-1}$ are observable but $x^{\ast}_k$ is not. What we observe, instead, ... |
Consider e.g the model $y = e^{\text{trend} + \text{seasonality}} \cdot \prod_{k \in \text{channels}} x_k^{b_k}$
where $i$ constrained $0 < b_k < 1$ (to capture diminishing marginal returns)
Which we can linearize into $$\ln(y) = \text{trend} + \text{seasonality} + \sum_{k \, \in \, \text{channels}} b_k \ln(x_k)$$
s.t ... |
I have a regression model, predicting a popularity of a text. I have its performance metrics on test set, e.g. RMSE and MAE. This gives me an uncertainty estimate about its predictions.
Now I want to transform the text in some way, e.g. give it to human experts or another model to "upgrade" (in terms of getting better ... |
Pardon me if this is a very silly question. Although my research involves a lot of probability distributions, I consider myself a fledgling statistician.
When people assign a probability distribution to a variable in a physical process, is it inherently assumed that the parameters of this distribution are not related t... |
I'm working on a Machine Learning regression task, where I have to predict a continuous value, and I have to minimize the Mean Absolute Percentage error, the problem that the target values ranges from zero to a bigger values, but most of the values are closer to zero, and when calculating the MAPE, it explodes due to s... |
A certain drug is claimed to be effective in curing cold. In an experiment on 500 persons suffering from cold, half of them were given the drug and the other half were given the sugar pills. Patients' reactions to the treatment are recorded in the following table (pls refer attached image). On the basis of the table da... |
I ran an ordinal regression in R with the polr function from the MASS package as described in this tutorial, which is very good. However, the tutorial does not include interaction effects. Here another tutorial I found useful for the interpretation of main effects, but again, it does not explain interaction effects.
Of... |
Following section 7.4 of Rose and Smith "Mathematical Statistics with Mathematica" (book available online here), I'm trying to use the Fundamental Expectation Result (eq 7.15) and other building blocks given in section to derive by hand as an exercise the variance of the sample variance. (I know there are easier ways f... |
If I have an RCT with one treatment (group1) and a control (group2), and another RCT that was done separately again with one treatment (group3) and a control (group4).
Would the overlapping subgroups be statistically equivalent to do a multiple comparison test?
Two treatments (group1+3),
Treatment from first RCT only (... |
Hello: I am interested in modelling the purchase rate over time (an integer number of purchases, observed daily, for a number of shoppers) for a collection of 3 different products.
The data look a bit like this:
Person ID
Date
Product ID
Product Name
Purchase Count
A
Mon
X
craft beer 6pack
0
A
Mon
Y
24ct cas... |
I'm working on a prototype that reads a fixed mass in a loadcell through an 24 bit ADC using a MCU; the device undergoes high temperature amplitudes, therefore the mass readings drift (because of the analog electronics) even though the mass doesn't physically change (it's always 1260 g). I`ve tested the device in a cha... |
Let $X(t)$ be stochastic process and suppose $m(t) \in \{0, 1\}$ (deterministic). I've obtained a sample $X_t$ $n \geq t$ and want to test $E[X(t) : m(t) = 0] < E[X(t) : m(t) = 1]$.
Unfortunately, $X_t$ is not an independent sample. However, I know that I can partition $X_1, \ldots, X_n$ so that each subset is independ... |
I need to use multiply imputed datasets and weights before using linear models (linear, logistic and negative binomial).
I have 2 sources of informations that point to different directions to compute correct standard errors, and cannot decide which to follow :
In the WeighIt article "Estimating effects", it is written... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.