instruction stringlengths 9 38.7k |
|---|
There was a question asked here around why the t-test is appropriate for hypothesis testing linear regression coefficients: Why is a T distribution used for hypothesis testing a linear regression coefficient?. The answers on the page focus on demonstrating that if you take the deviation of the estimated coefficient, $\... |
I was revisiting neural network basics from this post. The perceptron follows below equation:
$$\begin{align}
y & = 1 & \text{if } \sum_{i=1}^n w_i\times x_i \geq \theta \\
& = 0 & \text{if } \sum_{i=1}^n w_i\times x_i \lt \theta \\
\end{align}
$$
Absorbing threshold value $\theta$ to left hand side, we get:
$$\begin{a... |
On the Wikipedia page for data analysis, the following claim is made. "...one should not follow up an exploratory analysis with a confirmatory analysis in the same dataset. An exploratory analysis is used to find ideas for a theory, but not to test that theory as well." This claim is referenced to an obscure article, ... |
I am fitting a Linear Mixed Model using the lmerTest package. I have two fixed effects: group (categorical, 2 levels) and period (categorical, 3 levels). I have an interaction term between the two fixed effects period*group The response variable is continuous. I have one random effect (id). Please see the data below:
>... |
I am trying to predict certain output features (6 in total) with random forest with the input features always being the same. I noticed that my random forest model always fits better when I am trying to predict each of these outputs with a separate model.
But when I try to predict all these outputs with just a single m... |
I am working on a project and I am trying to measure the performance and compare two MCMC algorithms. The one is Random-Walk MH and the second one is PCN.
I thought of maybe comparing the mean absolute difference between the inferred and actual variable, which I did. Also, I am not sure whether the acceptance rate is a... |
I am currently working on my MSC thesis, but I fear I don't have the level of statistical knowledge to analyze this data.
In my experiment there are 3 plant species with 31,40 and 82 individuals. They each have their own weight and height, so I need to implement that as well. There are 6 treatments in total, each treat... |
I'm in psych research, so typically I have my subjects do ~40 trials per condition. If I have an uneven number of trials per condition (say, 30 in one and 40 in another) and a 2 x 2 within-subjects ANOVA, how would this impact the output on a power analysis (e.g. G Power)?
After cleaning my data the output is: each row... |
How is it possible to show the suspended (right-censored) datapoints (distributed on x-axis without value for y-axis) in e.g. Probability Plot - Weibull CDF like the green triangles in attached image?
|
Excerpt from Book
I am currently trying to improve my knowledge of structural equation modeling, and have been reading through Structural Equation Modeling with Lavaan by Gana & Broc to do so. They have the following simple model:
The table they reference thereafter looks like this, which is a collection of iteration ... |
I've implemented a neural network with single input - multiple outputs using Keras API. The general structure of the network is like in this figure:
Because each branch does a different task, I choose different loss functions (cross-entropy for the classifier and MSE for the regressor). The code is quite lengthy, but ... |
Sorry for this dummy question based on the number of contents in the field that I am asking about but
It seems that there are tons of texts and videos explaining what Reinforcement Learning is, and most of them are really copying what the first group did. Unfortunately, some of them are even copying the script which I ... |
A committee of 5 people is to be selected from a group of ten. How many are there if among the group is a married couple which can only be selected together.
So there are ${10 \choose 5}$ committees in total. Now we have to count the number of committees that contain both. There are ${10 \choose 2}$ ways to choose the ... |
In Angrist & Pischke's book mostly harmless econometrics, they explain that if the treatment in an RCT $D_i$ is randomly assigned, then $D_i$ is independent of potential outcomes and the following holds:
$$
\begin{align}
E[Y_i|D_i = 1] - E[Y_i|D_i = 0] &= E[Y_{1i}|D_i = 1] \color{red}{- E[Y_{0i}|D_i = 0]} \\\\
&= E[Y_... |
I'm a first-year BSc Biology student working on my end-of-module stats project, so that's the expected level of my work.
I need to find associations between hindlimb length and frog locomotor modes (e.g. tree jumping). I have an overall sample size of 164, but when divided into the different locomotor modes, my smalles... |
I manage an platform that has succesfully gotten a Bayesian approach to experimentation in production.
One new feature we want to implement is to do inference for multiple metrics (e.g. conversion rate and revenue). I know that one way to solve this is a model to infer paramenters for all metricss e.g. follow the appro... |
I have two models which will be used for prediction. The predictor variable zq65 has very different summary results for Pr(>|t|), depending on the inclusion of an interaction term in the model.
Is this unusual to have Pr(>|t|) change so much (0.969479 vs. 0.06721), with the addition of another predictor (i.e., I(zmean*... |
In my study I try to show that treatment A is not inferior to treatment B. With a delta margin of tolerance =-2. I had discussed the subject in a previous post, of which here is the link. For two-sided statistical tests I have this difference $\mu_A−\mu_B= -0,7$ $[-2,1; 0.8]$.
But in one-sided test I have $-0.7$ $[-1.9... |
I have access to a dataset with approximately 50,000 participants and that includes a large selection of self-report scales; I planned to analyze correlations between several scales with Structural Equation Modeling. I did not realize before hand that data was missing by design, that participants responded to a subset ... |
I would like to model my problem with a Partially Observable Markov Decision Process (POMDP) but I have as an observation the previous state $o_t = s_{t-1}$.
However, I see in all formal definitions of POMDPs that the observation function can only be a function of the current state, and previous action: $o_t=\mathcal{O... |
In Barto and Sutton's "Introduction to Reinforcement Learning" book, in Section 5.1 (Monte Carlo Prediction), they describe the First-visit (and every-visit) Monte Carlo (MC) methods for policy evaluation in episodic tasks, and write
Both first-visit MC and every-visit MC converge to $v_\pi(s)$ as the number of visits... |
I have to infer the probability of a system failing from observations. Since probabilities are bounded between 0 and 1, they are sometimes modeled using Beta distribution. While the traditional Kalman filter formulation works in the Gaussian space, can I use the same approach but use Beta and Binomial distributions? Ar... |
This is just a theory question so no code or example is required I think. I want to know if there is a rule of thumb for what constitutes low frequency in MCA? Should the variable be eliminated? Could adjacent categories be amalgamated instead? And what consequences occur if the analysis goes ahead without taking actio... |
A proportion or percentage must be between 0 and 1, therefore, a confidence interval for a proportion should also be between 0 and 1.
But is it possible that if the "10-successes-and-10-failures" rule of thumb isn't respected, the confidence interval is so large that it goes outside of the normal boundaries?
Is that ... |
In a regression of residuals
on X, the OLS estimator would be $\hat{\gamma} = (X'X)^{−1}X'\hat{\varepsilon}$ which is a vector of zeros ($\hat{\gamma} = 0$)
since $X'\hat{\varepsilon} = 0$. Could anyone tell me how did we arrive to the above conclusion about the OLS estimator?
|
I have been struggling to find clearly described R code explaining how to input variables for the clr transformation in R. I only need to transform columns 20-201 in my dataset. Can anyone provide an example or 2? That would help tremendously. Thanks in advance!!
|
I have a panel dataset with a very large number of observations 300,000. I am testing to see if a dummy variable is positive and significant using regular OLS. I have only about 1500 obs where the dummy variable is 1 - in one version of this and about 800 where the dummy is 1 in another version of this.
The coefficient... |
Given a set of points, I'm trying to find the right cluster. However, I am lost on what the process is. Here is the graph of all possible points.
I am unsure what I should look at
|
In order to run a simple linear model (e.g. using lm() function in R) I am under the impression that the following assumptions must be met:
Normality of residuals
Homoscedasticity
No collinearity (independent variables independent of one another)
No evidence of serial-autocorrelation
No evidence of unduly influential ... |
I got the following question on non-transitive dice, as shown in the following picture.
Suppose you roll two white dice against two red dice. What is the probability that the sum of the white dice is greater than the sum of the red dice?
And the answer is as follows.
Can someone explain to me why the total number o... |
For i.i.d. $X_i$ for $i \in \mathbb N$, denote $\bar X_n := \frac{1}{n}\sum_{i=1}^n X_i$. We know that $\frac{\sqrt{n}\bar X_n}{\sigma}$ converges (in distributional sense) to $\mathcal N(0,1)$, but we do not know how fast the convergence is.
In practice, is there a $n$-value that we use to apply CLT?
|
My question is about using fixed effects and clustered standard errors in a difference-in-difference setup.
I am trying to estimate the causal effect of a policy change on a measure of employment over 8 year_quarter periods (2005 divided into 4 quarters are the pre-period; 2010 divided into 4 quarters are the post-peri... |
I am looking for a way to calculate in the R software, the distribution, the density and the derivatives (of order 1, 2) partial of a Gaussian copula of dimension 3.
Indeed, I have three variables (u1, u2 and u3 ) with real values in [0,1], the three correlations r2,r2 and r3 from a kinship matrix. I am looking for the... |
I used the "systemfit" function in R to estimate a 2SLS model as it allows to specify the first and second stage separately which is important for my estimation. I need robust standard errors but I am having problems replicating the robust standard errors obtained when estimating the model using "iv_robust" or "ivreg" ... |
Context
Suppose one has a public dataset plant_labels with:
Input: plant pictures
Labels: plant names
And a larger public model: object for object recognition with:
Input: object picturesmodel
Labels: object names
which has been trained on various public datasets, except for plant_labels.
Scenarios
Suppose 2 differ... |
I'm working on a course problem,
Suppose that $\textbf{x}=\{x_1,\dots,x_n\}$ and $\textbf{y}=\{y_1\dots,y_m\}$ are independent random samples from $\text{N}(x|\mu_x,1/\lambda)$ and $\text{N}(y|\mu_y,1/\lambda)$, respectively. Using the (improper) prior $$\pi(\mu_x,\mu_y,\lambda)=\lambda^{-1},$$ prove that $\mu_x$ and ... |
I have been reading up on super learner ensemble methods that utilize multiple models and model configurations to make model predictions as good or better than any individual base model previously investigated. Machine Learning Mastery has a great tutorial on this topic.
I have tested and evaluated a super learner ens... |
Please see the following in highlighted (ISLR 2nd Edition pg 265):
The last sentence (p=2000 example) is very concerning to me. I was going to use Lasso in everyday practice to do feature selection (believe this is an accepted method of feature selection). However, to me, this sentence basically says:
"Lasso regulariz... |
In class, we defined an exponential family to be of distributions with density of form
$$h(x) \exp(\langle\theta, T(x)\rangle-A(\theta))$$
$\langle~,~\rangle$ is the inner product and $\theta \in \mathbb{R}^d$ is the parameter. For our purpose, this can be treated as a dot product between two vectors in $\mathbb{R}^d$.... |
What I want is to use univariate analysis to initially identify variables with significant effects for subsequent multivariate analysis.And this is a retrospective study.The data structure is shown in the following figure.
In this data,each patient has serveral ECTs,because in the reailty,people would be treated by me... |
The aim of this experiment is to explore the effects of age, period and cohort. Thus, none of them can be thrown.
Therefore, the assumption of no cohort effects greatly simplifies estimations but can lead to model misspecification and is inconsistent with accumulating evidence of cohort changes in a variety of health ... |
My course notes have a problem,
Assume $\{x_1,\dots,x_n\}$ is a random sample from a Gaussian distribution with unknown mean $\mu$ and precision $\lambda$. Define the statistics $\bar{x}=\sum_{i=1}^nx_i/n$ and $s^2=n^{-1}\sum_{i=1}^n(x_i-\bar{x})^2$. Let the prior be define as $$\pi(\mu,\lambda)=\pi(\mu,\lambda)\pi(\l... |
This is my eacf plot but I don't know how to read and interpretate it. I wanna know what AR and MA I possibly got from this. Please help me, thank you
|
If we have two features, A and B. Feature A has a higher gain than feature B when analyzing feature importance in xgboost with gain. However, when we plot the shap values, we see that variable B is ranked higher than variable A.
How would you interpret that, intuitively? Because I understand from these answers:
Differ... |
Are there generalizations of common hypothesis tests (e.g. t-test, mann-whitney) that can take into account different confidences in the sample measurements?
For example, if I have two sets of measurements:
A = [1, 5, 2, 6, 8, 9, 2]
B = [2, 7, 1, 6, 9, 7, 6]
and a given set of sample-specific measurement errors (differ... |
My goal is to order companies based on their profitability in a specified period (from the most profitable, to the least profitable). For that I need a single index.
I have got a dataset similar to the one below:
Company
Ratio 1 (2020)
Ratio 2 (2020)
Ratio 1 (2021)
Ratio 2 (2021)
Index
Company A
X%
X%
X%
X%
?
... |
I are analyzing time to event using a Cox model. There is a continuous variable C, and I are conducting a likelihood ratio test comparing the following two models to see if the variable C should be added.
model_a ~ A + B
model_b ~ A + B + C
anova(model_a, model_b, test = "LRT")
In this case, can we call model_a a null ... |
I have a question regarding image denoising.
The setup:
Consider the lattice $L:=\{1,...,m\}^2$ and a process $X=\{x_a\}_{a\in L}$ with $x_a = \pm 1$. Let the observed image be $Y = \{y_a\}_{a\in L}$ and let
$$
P(Y=y|X=x) = \prod_{a \in L} P(Y_a = y_a|X_a = x_a) = p^{\#\{a\in L: x_a \neq y_a\}}(1-p)^{\#\{a\in L:x_a = y... |
What is the relation between the coefficients of linear models and the Jacobian matrix? Should the matrix of coefficients of a (generalized) linear model be thought about as the Jacobian?
|
I have a dataset of variables with different types and units (some are percentages). I was wondering whether scaling data is important before doing a correlation in this case ?
I am using rcorr() from Hmisc package on R.
|
I want to conduct an F-test on a linear model with 5 groups each with around 20-25 samples. I know I could perform an anova() in R, but the residuals aren't quite normally distributed.
If I perform a bootstrap to have around 10K samples can I now safely use an F-test? Or do I have to check some assumptions?
Does the ce... |
To note: I am fairly new to GAMMs. I have read many StackExchange questions/answers and general documentation on GAMMs, and consistently question the proper way to set up my models to answer my question.
My research question: Does disease status or temperature drive changes to timing in reproduction?
Dependent variabl... |
I have an experiment in which mice roam a maze with different environments. My predictors are environment (env) A, B and C, and exploration time at each environment (time).
My dependent variable y refers to activity score (the amount of times a mouse pressed a lever in an unrelated task), which means that each mouse ha... |
I am trying to fit a model to a noisy image. After fitting, I would like to have some way of assessing the quality of the fit (i.e. whether there are any systematic deviations of the model from the data). My first thought was to test the distribution of the deviations between the model and the data for normality. By vi... |
I intend to evaluate the effect of an exposure (E), continuous, on my outcome (O), binary. The available cohort studies are based on time-to-event analysis and report hazard ratios (HR). However, there is no clear cut-off for the E in the literature so the available studies use a multitiude of arbitrary cut-offs for de... |
Let's say I have a set of data and I modelled it using an ML algorithm. After I fit multiple models I achieve a certain level of accuracy. It doesn't get better beyond that point.
I want to prove using the error term that there are evident patterns and since there is predictability in error term therefore I can't model... |
We have a continuous variable intensity as a dependent variable.
Three categorical variables: material(A,B,C,D), group(1,2,3,4,5,6,...), patient_id.
patient_id is supposed to be a random effect.
We would like to know how the different categories of material influence the dependent variable in different categories of gr... |
I am trying to reproduce a Neural Network trained to detect whether there is a 0-3 digit in an image with another confounding image. The paper I am following lists the corresponding architecture:
A neural network with 28×56 input neurons and one output neuron is trained on this task. The input values are coded between ... |
I have a data set with
x = [10 16.25 16.25 16.25 16.25 20 22.5 22.6875 24.57 24.57 41.86 47 47 53.8 66.43 77.9 91.201 96.2 97.2]
and
y = [1.28 4.15 3.42 1.53 3.44 4.89 2.91 8.51 9.03 14.91 9.73 8.07 18.56 20.68 42.02 65.72 65.00 83.95 82.17]
A linear regression analysis gives me y = 0.919x - 15.396 and I am trying to c... |
OLS: $y = X\beta+ \epsilon$ with $\epsilon \sim N(0,\sigma^2)$
GLM: $g(\mu) = X\beta$ with $y \sim $<Distribution from exponential family>
I have knowledge of OLS and am trying to understand the more general case of GLM. I noticed that for GLMs the assumption of the distribution is made on $y$ and $\epsilon$ is never e... |
Suppose there are n types of toys, which you are collecting one by one. Each time you collect a toy, it is equally likely to be any of the n types. What is the expected number of distinct toy types that you have after you have collected t toys? (Assume that you will definitely collect t toys, whether or not you obtain ... |
I have a dependent variable Y recording a score on participants which performed a task measured at three time points. I would like to model the data using a LMM with random intercepts and slopes, with the lme4 package in R:
model<-lmer( Y ~ 1 + TIME + gender + TIME*gender+ (1+TIME|ID) , data = df)
but I obtain the fo... |
i'm trying to analyse some data i collected but i'm not sure i'm doing it right.
I have data collected from a test in which people are presented a sequence of numbers and then they have to answer with the same sequence, but in inverse order.
The answers can be:
correct (C),
correct numbers but wrong order (WO);
wrong ... |
When companies run an AB test, stakeholders will often ask two questions:
i) What was the effect of the intervention, and
ii) Did the effect vary by strata (e.g. mobile vs. desktop)
Additionally, the effect is typically reported as a "relative lift". When the outcome is binary, this is most easily understood as the re... |
I am familiar with OLS, in which we minimize the sum of squared residuals to obtain the estimator. Why do we not use the same approach for GLM, but instead use maximum likelihood estimation?
|
A lot of ML models, such as neural networks, are Universal Function Approximators. But when evaluating ML models, we use usually metrics, such as MSE or accuracy, to assess the performance of a ML model.
Is there a convenient way to "create" an approximation of the function after having trained a ML model, with for e... |
When conducting an experiment, the p value is the chance that the experiment's result was obtained by chance given the null hypothesis.
I wrote a few lines of code to check if scipy.stats.binomtest gives this result. Each experiment executes 20 bets with 0.1 chance of success for each. I ran 20,000 experiments, and fou... |
I am not 100% sure how to interpret the plot for multivariable linear regression, especially everything besides the normal Q-Q one.
From my understanding, the plot showed linearity or the model is a good fit.
As for the summary, I think it showed some pretty good results based on R^2 and adjusted r squared alongside F... |
I've derived a regression model with continuous independent variables and got conefficients which are all significant in t-Test, but the multi collinearity exists. Do I have to resolve collinearity further even in this case?
For the details,
Data Location : https://blog.kakaocdn.net/dn/bxHByC/btrWFJtvIeT/WSxcy9ZLkG1VNO... |
This is related to Gelman's Bayesian Data Analysis 3rd Edition pg 300 first paragraph of Section 12.4. The book says the following.
"An inherent inefficiency in the Gibbs sampler and Metropolis
algorithm is their random walk behavior ... can take a long time
zigging and zagging while moving through the target distribu... |
I have gone through a variety of posts and after natural log, sqrt, log10, and inverse transformations, one of my columns in R is not even close to being normal. I want to run a linear mixed model on it.
Here is some of my data:
> dput(head(df, 200))
structure(list(meanodba = c(NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, ... |
I've got a follow-up question to this post regarding correlating [non-]linear environmental variables to NMDS ordination axes.
My original plan was to use function envfit() in R's vegan package to determine the correlation coefficients and R2 of the relationships of environmental variables to an NMDS ordination of samp... |
I'm following the "Time Series Analysis and Its Applications With R Examples" from Shumway and Stoffer. In chapter 3.8 they talk about Regression with Autocorrelated Errors.
"They use the model of the form:
$$y=Z*\beta+x$$
Where $y=(y_1,...,y_n)'$ and $x=(x_1,...,x_n)'$ are $n \times 1$ vectors, $\beta=(\beta_1,...,\be... |
In a typical regression set up, we want to maximize the expected reward(or minimize the expected loss). Empirically, we are maximizing the average return over all samples. However, in reality wouldn't we want to maximize the total reward/revenue over a year for example?
|
I've an exercise where it asks to propose an estimator for the propensity for consumption: $c = C/Y$ where $C$ is the consume and $Y$ is the income.
Since the consumption function $C = c_0 + c_1 Y$ is a linear curve and in particular recalls the simple linear regression $y = a + bx$, I would have solved it this way: $\... |
So far I've only seen this solution: $$\beta = (X^TX+\lambda I)^{-1}X^Ty.$$
But I assume this is for the case: $$y=\beta X+ \epsilon$$
What would be solution for the more general case:
$$y=\beta X+ \beta_0 +\epsilon$$
And how can I derive it?
|
I'm trying to fit an inverse gausiann distribution because my data looks like this:
Here is my current code for the model:
glm.full.odba <- glmer(meanodba ~ AirTemp + LagAir + Radiation + Windspeed + LagRadiation +
+ Precip + Raining + LULC + Elevation + (1 | Turtle),
data = odba_fit_data_set,
f... |
I have the following AR(1) process:
$$
Y_t = 4 + 0.2Y_{t-1} + a_t \qquad a_t \sim WN(0,1)
$$
The exercise asks to write the MA(q) process sufficient to represent the AR(1) model considered. The exercise assumes $Y_0 = 0$ and it asks to calculate to the third decimal place.
I got the following quantities:
$E(Y_t) = \mu... |
For the variable SelfEthnicity there is meant to be 4 levels.
I have made it so there should not be a reference category, but the R output still only shows 3 Ethnicities.
> poissonmodel <-glm(rate~0+SelfEthnicity+Force, family=poisson,data=df_merge)
> dput(head(df_merge, 20))
structure(list(Force = structure(c(1L, 1... |
Suppose we have a parameter $\theta$ that we want to estimate. We sample an observation (random variable) $X$ from a known distribution $D_{X|\theta}$. Then, we can compute an estimator $\hat\theta(X)$ as a function of $X$.
In normal parameter estimation, $\theta$ is unknown but fixed. This essentially means that we do... |
Suppose $X \mid Y$ and $Y$ are normally distributed. Does it follow that $Y \mid X$ is normally distributed?
And if so, how would one prove this?
|
I frequently get data that takes the form of a list of events with timestamps. For example, it might show different salespeople and each time they make a sale. What is the right method for testing whether two groups have a different rate of events?
This isn't a survival / time-to-event analysis because each group can h... |
I've used R and the survival package's coxph() function to calculate hazard ratios and p-values for around 20,000 genes using data from The Cancer Genome Atlas. When I plot the hazard ratios and -log10(P) values in a volcano plot, there appears to be an artifact in the data - the data points all seem to fall along one ... |
I'm somewhat confused about the standard setup of Gaussian Processes in the machine learning literature.
In the classic setup, we have a dataset $D=\{\mathbf{x}, y_i \}_{i=1}^N$ and we have that $y=f(\mathbf{x}_i)$ (which may or may not be corrupted by noise). I am confused exactly as to whether or not $\mathbf{x}$ is ... |
I have about 60 macroeconomic and financial indicators; all of them stationary (logs and differencing), with monthly data for the last 25 years. I am trying to predict changes in a financial variable (Y) for the month and the quarter ahead.
I have processed the data through PCA (Principal Components Analysis) and CFA (... |
Is it possible that in the output of fisher.test() in R p-value is grater than 0.05 and odds ratio is not equal to 1?
I have this table.
The output of fisher.test() is:
P-value=0.1789 indicates no association between response and lubricant.
OR=2.7 indicates differences for lubricant=0 and lubricant=1
Is this possible... |
Lots of machine learning datasets are now created by having human raters annotate and provide labels to questions. Usually, a gold set is the most robust way of seeing if the raters are doing a good job. I am wondering what are some metrics commonly used for understanding how well a rater is doing?
|
Hi supposed I have a table like this.
Response total_cells group total percent
1 resistant 254 Pre 13949 1.821
2 responsive 145 Pre 12451 1.165
3 resistant 443 Post 10823 4.093
4 responsive 460 Post 24153 1.905
I would like to know if there is statistical difference ... |
I'm trying to create a linear mixed model for some of my data. I'm brute forcing a backwards step selection by taking out the least significant parameter both times. I went back 6 fixed effects and that's about where I decided to stop. I ended up with an output like this (I only included fixed effects just for ease of ... |
I used this formula in Rstudio: model<-glm (NRQ1~Sample, family= gamma (link= 'log'), data =df) and to check the model, I used simulateResiduals (fittedModel = model) in DHARMa package. I got two figures saying quantile deviation detected (show below) but one is significant one is not in terms of combined adjusted quan... |
I have come across papers where the authors argue that you should not control for firm size if you use firm fixed effects. The argument is that firm fixed effects control for cross-sectional characteristics so, firm size as a control in the regression does not make sense. Study in reference Comerton-forde (2011) "Why d... |
All of the jackknife methods (JN) I have seen (for example) use the JN to estimate standard errors and then use those estimates in standard normal-assumption symmetric intervals constructions ($ \hat{\mu} \pm z_{1 - \alpha} \cdot \hat{se} $),
Can the jackknife be used to estimate the sample statistic distribution direc... |
My understanding of Bayesian optimization is that it is generally used in conjunction with Gaussian process (GP) as the surrogate model. Because GP inherently produces an uncertainty of estimate, the acquisition function of expected improvement (EI) can take that into account the uncertainity and strike a balance betwe... |
Wanted to make sure that I have the proper steps for building a Regression Decision Tree correct. Please let me know if I'm missing anything or if something looks incorrect:
Build a fully grown tree:
Divide the predictor space (all X’s) into distinct and non overlapping regions. Where the regions is split is determi... |
Generally speaking, if a feature is split early on in a tree does that mean its more important? And so therefore, the root node's feature is the most important feature in the tree?
In addition, if a feature is split often within the tree, does that mean its important as well? Compared to the feature thats split early o... |
I saw the wikipedia of out-of-bag (OOB) error states that the OOB error converges to the leave-one-out error. However, I was not able to find a formal proof of it. The wikipedia refers the book of "Elements of Statistical Learning" by Hastie, Trevor. But when I read the book, it leaves this proof as an exercise. I have... |
I conducted a multi-level analysis with mixed model. The data has 6 countries. And the sample size of each country (no of respondent in my case) is ranged from 1153 to 1590. Most results are significant with different p level (p<.05, p<.01, p<.001). For example, item A: b= .041,s.e.=.008, p<.001, item B: b=.019, s... |
Prediction interval in my forecasting is too high. It goes beyond the threshold of 100% of forecasting share of health spending as a percentage of total. This is the relevant data and the associated result:
Forecast method: ETS(M,A,N)
Model Information:
ETS(M,A,N)
Call:
ets(y = China_ShareofCHE_TS, model = "ZAZ")
... |
I was looking into checking cluster positioning from a non-liner transformation. I do have the ground truth labels. Now, I want to use the transformed data points and see how good this transformation is for original cluster labels. I do not want to deploy another clustering algorithm to cluster the data again. Basicall... |
As the question states, I am looking for some warmup activities for teaching undergrads practical examples of variation and standardized distributions. I think the first part is relatively easy to teach. I was thinking of selecting a small random sample of students, picking out about 5 or 6 of their heights, then askin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.