instruction stringlengths 9 38.7k |
|---|
I am trying to build an auto-suggestion logic which looks at currently selected items and recommends a list of items to select the next item from.
I can formulate the problem thus:
Given a set of points S = {p1,p2,p3....,pn} for the selected items and another set of points M = {a1,a2,...,am} for the remaining items, I ... |
If I have X and Y datasets, I will apply meta-learning few-shot-learning by training the model on the X dataset and applying meta-testing using the Y dataset. While I compare my result with other state of the art methods, can I use their pre-trained model and test it on the Y dataset or do I have to train a model using... |
I would like to run a Cross-Level Interaction in MPlus with a Level-2 Moderator and fixed slopes. I do not center the level 1 predictor because I use latent aggregation.
Does anyone know of any good code on Cross-Level Interaction with only fixed slopes?
|
Sometimes I have numerical columns that are composed of two unique values. For example, a value from the set $\{0.1, 5.4\}$ in every cell, or $\{-1, 0\}$ in every cell. I typically scale these columns with the rest of the numerical columns.
However, before my scaling step I perform an encoding step where I look for cat... |
I am analyzing longitudinal data from high school students measured across 4 waves (2010, 2011, 2012, 2013). Of course not all high school students were Freshmen in 2010 so I have missing data for those who were Sophomores and up, for example here are those we have data for (x):
2010
2011
2012
2013
Freshmen
x
... |
Suppose I have a dataset where 100 patients have the disease (e.g. information such as height, smoking, weight, age, disease status) and 10000 patients do not have the disease (i.e. class imbalance).
I am interested in using Logistic Regression to try and understand what patient characteristics appear to influence the... |
So I was going through this paper and under Uncertainty modeling it says
So I tried deriving it on my own and I got
$p(\omega | X, Y) = \frac{p(Y | X, \omega) \cdot p(X,\omega)}{p(Y | X) \cdot P(X)}$
I am not quite sure how they removed the term $p(X,\omega)$ in the numerator and $P(X)$ term in the denominator.
Anothe... |
Say you're training an NN and have different groups of samples, say number of groups is ngroups.
Each group has a different number of samples, say nsamples1, nsamples2, etc..
The number of samples per batch is batch_size and you want each samples from each group to show up at least once (on average) during each batch, ... |
I recently learned how to test for concurvity on a GAMM I constructed, but I'm confused about how to test if 2 factors (2 categorical parametric terms), or 1 factor and a smooth term, are too closely related to be in the same model. The function mgcv.helper::vif.gam() was helpful, but only seems to recognize continuous... |
Would this be a problem I build a gene signature and tested it in my test, train and validation sets. I do observe significant difference in terms of survival when I had take those genes as predictors but which I obtained using lasso regression. Now when I see the difference in term of my clinical groups which in my ca... |
I have a NN with a single output scalar. I want this scalar to tend towards positive infinity if some of the inputs take on certain values. How can I guarantee this without adding training data?
|
I have a NN with a single output scalar. I want this scalar to tend towards positive infinity if some of the inputs take on certain values. How can I guarantee this without adding training data?
|
I just want to calculate the percent change in y variable as a result of reduction in x variable by 10%. Is there a code for it in R? for example, if x = particulate matter in air and Y = air pollution level. I just want to see if I reduce particulate matter by 10%, how much percent change will be there in air pollutio... |
Can you please explain why this statement holds?
a distribution where the variance is proportional to the mean will better tolerate larger prediction errors occurring with larger predictions than one whose variance is independent of the mean.
|
I'm sure there is an obvious answer to this question but I'd like to understand better what the difference is between p-values for t-tests and type 3 ANOVA f-tests for binary variables in mixed effect models as implemented in lmerTest. In a standard linear model, my understanding is that these should be the same. For i... |
Problem setup: Suppose $X_1, \ldots, X_n$ is an i.i.d. sample from $F_X$ (CDF), and $Y_1, \ldots, Y_n$ is another i.i.d. sample from $F_Y$ (also CDF). In addition, $h(z_1, \ldots, z_n)$ is a real-valued symmetric function. Let $H_X = h(X_1, \ldots, X_n)$ and $H_Y = h(Y_1, \ldots, Y_n)$. Denote $D_{KS}(X, Y)$ as the Kol... |
Background
Suppose we want to look examine the viral load from individuals on drug therapy. In the study design, there are two groups. Group one receiving no treatment (or placebo) as the control and group two as the group receiving antiviral treatment. We compare the didferences in average reduction of viral load betw... |
I am currently conducting a longitudinal secondary data analysis. Due to the nature of the data that has previously been collected and my proposed analysis (Growth Mixture Modelling), I am needing to appropriately align scores from the Child Behaviour Checklist with the Brief Infant-Toddler Social and Emotional Assessm... |
I need to calculate within-subjects' confidence intervals in R for a plot I am creating. Does anyone know how to construct either the Loftus-Masson confidence intervals or the Cousineau-Morey confidence intervals in R?
I have been trying to find out how to do this for hours.
Thank you
|
I am building a boosted decision trees classification model, where the input variables vary smoothly with time.
The problem is that the predictions will always be biased by the most recent entries. I understand that this is happening because these are the points of hyperspace closest to the target points. If I don't us... |
I am working on brain tumor data and I would like to be able to separate the uptake of a radioactive tracer in the tumors, depending on the tumor grade. Simplified explanation: Grade 2 tumors have the lowest uptake, grade 3 has higher uptake and grade 4 has highest uptake in general. ROC-analysis gives me a threshold o... |
I am doing a segmentation task. There are 5 annotators to annotate the images. However, the segmentation target is a small object whose boundary is hard to delineate. Therefore, the differences of the same images between annotators are large, resulting in a low dice coefficient in evaluating the annotator differences.
... |
I am running a PGLS (Phylogenetic Generalized Least Squares) model selection using the library 'MuMIn' and its functions, see below the code:
*# Perform PGLS function
modelo <- pgls(ExtinctionRisk ~ PC1 + PC2 + PC3 + Island_Endemic + Volancy + Habitat + New_Migration + Foraging , data = cdat, lambda = 'ML')
... |
Suppose that we have a time series $y_1,...,y_n$. Additionally, consider that this time series as a seasonal component of period 12 and a linear trend. To make our time series stationary we apply the following transformations:
$y_t^{'}=\{y_{t}-y_{t-12}\}$
$y_{t}^{*}= \{y_{t}^{'}- y_{t-1}^{'}\}$
Now, $y_t^{*}$ is expect... |
I want to use an ARIMA based or Prophet-based model to train on my data. I have split my data into train and test, and the model is trained on train only and forecasts for test.
The further the forecasts in the test, the worse the error, since it has been trained on train and further down the line from the train, the m... |
Problem: there are $N$ machines and probability $P$ that a machine is not working. Task: calculate the probability that more than $X$ machines are going to be broken if $N$ is increased. In addition, I have to plot a distribution of the broken machines number for a specific $N$.
Here is what I did.
The probability that... |
I'm trying to test whether ski skill level has an impact on an athlete's motivation to visit a resort. I have three skill-level categories and three motivation categories.
I have calculated my chi-squared value ($53.03$) and my $p$ value is $1.065E-08$, which is much lower than the critical value of $15.51$ at $0.05$ w... |
I'm trying to generate simulation paths across time in R for survival and hazard functions using the Weibull distribution. Here are the steps I'm taking so far. I need direction because I'm not able to generate simulation paths with the below:
First: Here's an example of a single basic hazard curve generated in R which... |
I want to estimate the standard error of an estimate.
It depends on the rows and columns of a dataframe.
Two possibilities:
Make a bootstrap on the rows to estimate $se_{row}$.
Do the same with the columns to estimate $se_{col}$.
Then take the general standard error is $se_{tot} = \sqrt{se_{row}^2 + se_{col}^2}$
Do ... |
I've done a linear regression model to determine the effect of personality position on a scale and changes in reaction time. I adjusted for age as a confounding factor. I've got the output, but there are so many p-values that I don't know what each of them mean.
Here is the output:
More importantly, what does the p-va... |
A single class of students were given a session on a subject. This subject was split in example A (taught using active method) and example B (taught using passive method). Students were examined on the topic prior to the session, immediately afterward, and one week afterward. The test was identical each time. The test ... |
Any method I may use to estimate the probability of components for each model, by using finite mixture model in r.
|
When applying ARDL
I used Dickey-Fuller unit root test, and found variables integrated at I(1) and I(0).
For running the ARDL model do I use my original data (not differenced) or do I use the differenced data?
|
I'm measuring the effect of tree Genus and location on % change in diameter at breast height of trees (converted to 0-100 rather than a %). I underwent a 2-way ANOVA using the following code:
swp_model <- lm(percentage ~ Species + Ward + Species : Ward, data = trees)
However, I was diagnosing the model and was unsure ... |
I'm attempting to implement an extended Kalman filter (EKF) to estimate an angle $\alpha$ given measurements of two scalars $x$ and $y$ where the measurement function is $\alpha=atan(\frac{y}{x})$. With the measurement function in the form $y=h(x)$, this gives the following
$$\frac{y}{x}=tan(\alpha)$$
This is a case of... |
Questions
I trained two models by using two different data sets.
model = pmd.auto_arima(data, trend='ct')
What is intercept in the output of print(model)?
I don't understand why model 1 doesn't have intercept but model 2 does. This is because both intercepts' p-values are small enough.
In print(model.summary()), some... |
What is the formula for calculating the minimum sample size needed to achieve a specified relative precision for a given sample statistic's standard error, at a specified level of significance?
Mostly I find formulas specific for the sample mean. But I'm looking for the text-book description of the general case. Ideall... |
I have developped a DL model to classify images and I am trying to optimize the hyperparameters. Reading the literature, I have found the ASHA algorithm and its implementation in SHERPA, like reported here. In the example there is something that I cannot understand. I have a maximum resource $R=9$ and a reduction facto... |
I've been collecting real estate transactions in my neighborhood for a while and have data about resales since 2017. The neighborhood was established in 2005, so much longer than what I have data for.
I'm looking to estimate average residence time (time between sales of a single home) in two ways:
(# of total homes) /... |
I'm working on a regression model that predicts age of clients. The problem is that there aren't many variables to work with. So my question, is it better to study correlations and contingency tables for variables then selecting the ones to use for regression OR is it better to use all of the variables then see which o... |
I'm trying to perform quantile regression in R on a multivariate data set, where I want to visualize the 10% and 90% bounds. I also intend to calculate PICP - Prediction interval coverage probability according to
Where
LPIi and UPIi are respectively lower and upper bounds of the prediction interval constructed for it... |
Let's say we have an univariate dataset x that follow a gaussian with parameters (m, s).
Under a frequentist methodology, m and s are estimated using MLE and x is modeled as N(m_hat, s_hat).
Using the bayesian approach, lets say we put a prior on m. Then the model for x becomes f(x|m) ~ N(m, s). Computing the joint dis... |
I’ve read that partial pooling (multilevel / hierarchical models) can balance the extremes: on one hand, zero pooling where every group receives its own parameters, non influenced by other groups. And full pooling, where is one group has more data (or outliers) it can dominate the posterior distribution.
I’m curious ho... |
I want to do some basic OLS regression analysis but I am confused about the output given by the margins() function from the margins package. If I calculate the results by hand, I get completely different results and now I don't know what result to trust.
Here is an example code:
tab <- lm(populism_avg_std ~ eligibilit... |
I have a dataset with several variables with average prices from week to week over many years. The problem is that each variable autocorrelates with itself heavily and I want to decorrelate variable for variable each by itself so that I can actually use different statistical tests and actually get meaningful answers on... |
I'm attempting to compare some economic forecast errors across institutions. I want to see if the mean absolute error is different from one institution to the other. Since the forecast errors apply to the same year for each institution, I was thinking about using a paired t-test, but I'm not sure if I should here. Is i... |
When constructing an ADF unit root test, is it Ok that input data is a growth variable? I was thinking about when you compute growth rate $\left(\frac{Y_t - Y_{t-1}}{Y_{t-1}}\right)$ and when differencing that's the expression above the line ($Y_t - Y_{t-1}$)..
|
I am currently unsure about a three-level variable in an linear mixed effects analysis in R (lme4) - I should add that I am new to LMEs and would very much appreciate some very basic advice!
I am trying to compare the results of an ANOVA with a corresponding LME analysis.
Regarding the 3x2x2 ANOVA, I was interested in ... |
My question is very very similiar to the on asked here: How much variance is explained by a given subset of variables?
However, I have mixed data, e.g. both categorical variables (i.e. location) and numerical variables (i.e. team size). This applies to both the complete dataset and the subset.
With qualitative data in ... |
I'm building linear mixed effect models with lmer. At first I was writing the formula like this:
model_1 <- lmer(response ~ A + B + C + A:B + A:C + B:C + A:B:C + (1|Subject), data)
But I have been adding more terms to the fixed-effects parts so I tried this way I saw:
model_2 <- lmer(response ~ A*B*C + (1|Subject), da... |
I am modeling treatment effect in a hypothetical case where only a subset of the sample has disease-related impairment on the outcome of interest. I only expect treatment effects in this subset, but due to variability in the outcome (natural variability + measurement noise), the baseline value of the outcome measure gi... |
I have a dataset of images $X$ and numerical values $Y$, corresponding to them. Each numerical value comes with a reliability $r$ flag (either 0 or 1). The dataset is imbalanced: for each unreliable value there are over 30 reliable ones.
I want to train a model, that would be able to predict the values $y$ and return t... |
Can anyone explain in simple terms why the variance of a Bernoulli distribution is: Var[X] = p(1 – p)? More generally, why is the binomial distribution's variance the product of the number of trials, probability of success, and probability of failure, i.e. Var[X] = npq?
Thank you for explaining this in the most pragmat... |
I hope this isn't too simple of a question, but I am having difficultly choosing which test to use in my analysis.
As for background, I am studing the migration patterns of different species of birds and relating that information to the average temperature in the area to see if the migration patterns have been effected... |
I have measurements of resin production of pine, which are taking tapping the tree, that is, making a physical wound and collecting the resin in a pot. When the pot is full we replace it with an empty one and we weigh the produced resin. As the rate of resin production decreases with time after wounding, the period amo... |
I'm training a text similarity model using a two tower approach. The data I'm dealing with has a lot of unusual words that are important (names of people, places) that also don't appear in any pre-trained corpus. I'm finding that using a pre-trained word embedding such as glove is out performing my own trained embeddin... |
What does the p-values besides the edf means in generalized additive model (GAM) mean?
Does that mean that the non-linearity is significant if p < 0.05 cause I have an edf of bigger than 2? Package used is mgcv
Family: Beta regression(1.35)
Link function: logit
Formula:
outcome ~ s(week, k = 4, fx = TRUE, by = food... |
Have that
$$
\text{Corr}(X_t,X_{t+h}) = \frac{\text{Cov}(X_t,X_{t+h})}{\sqrt{\text{Var}(X_t)\text{Var}(X_{t+h})}}
$$
and
$$
\rho(h) = \frac{\gamma_X(h)}{\gamma_X(0)}.
$$
Those are both ways to express the ACF, so they're equivalent, right? And that would mean the denominators are the same for both, so
$$
\sqrt{\text{Va... |
I wanted to implement linear regression with gradient descent from scratch and demonstrate how you can overfit when using too many polynomials. Unfortunately my model does not really overfit the data. Can someone explain why?
import numpy as np
import matplotlib.pyplot as plt
# make example reproducable
np.random.seed(... |
Background
Under certain assumptions we know that being given the posterior mean and a family of conditional distributions, we can uniquely determine the joint distribution. I quote one of the theorems specifying appropriate conditions below. The theorem comes from this book and provides the conditions for power series... |
I have an issue with a regression problem. Indeed, I need to fit a linear regression on this data. The problem is more than 50% of the data points are located in the origin (0,0) of the graph (because the experience produces a lot of points in this specific location). I have shown the histogram of X.
It is for medical ... |
I have a bunch of samples that, empirically speaking, appear to be drawn from an unknown log-normal distribution, with an unknown constant offset applied to the data points. That is, $\ln(X_{i} + C) \sim \mathcal{N}(\mu, \sigma^2)$, assuming I remember my terminology.
(Actually, I have a bunch of bunches of samples.)
G... |
I'm building an app to help players improve the accuracy of their shots in pool (pocket billiards). Someone might miss shots to either side of the centerline (overcut or undercut), and that's shown on a scatterplot as positive or negative degrees. I want to overlay the scatterplot with a line of moving average error t... |
I am currently working on a statistical analysis project where I implemented a linear mixed model with only a random intercept and several fixed effects. I am considering visualizing the results by plotting both predicted values and estimated marginal means (along with their confidence intervals ) on the same graph. Ho... |
The survival function for the Weibull distribution is:
$S(t) = exp(-\lambda t^\alpha)$, $\lambda$ = scale parameter, $\alpha$ = shape parameter
If I wanted to calculate the median survival time, I would set $S(t) = 0.5$. Rearranging terms, this means the median survival time would be calculated as follows:
$t_{median} ... |
As titled,I had some confusion related to statistical power calculation.
The calculation is done using
from statsmodels.stats.power import tt_ind_solve_power as SolPower
np.round((SolPower(effect_size=None, # normalized difference between Group 1 & 2: min effect size / standard deviation
nobs1=None, ... |
Say I want to estimate $$I=\int f\:{\rm d}\lambda+\int g\:{\rm d}\mu.$$ Now, I'm using Metropolis-Hastings to sample from $\lambda$ and from $\mu$, separately. Assume $\mu$ is defined on a product space and whenever $(X,Y)\sim\mu$, then $X\sim\lambda$.
My question is: Instead of constructing Markov chains $(X_n)_{n\in\... |
I made a Monte Carlo based hypothesis test, which starts comparing N values in M simulations to a confidence interval, giving me a binary N*M matrix. Then I calculate the percent of values equal to 1 for every simulation.
So the final M values I'm going to use for the hypothesis test are between 0 and 1.
However, I can... |
I want to test whether whether a dispositional risk factors moderates the relation between a situational risk factor and a negative outcome in a regression model (including several control variables).
I found the moderation effect (predictor*moderator) in the expected direction using OLS Regression. However, the distri... |
Here's the sample data I got from Kaggle. This is a sample of daily temperature data for about 20 years. In my initial attempt I tried to simplify this as monthly data and attempted to use a seasonal Arima model. From the acf and pacf I can see that this model is an AR processing with AR tail off and PACF cut off. I ... |
Respected sir/ madam
When we perform QSAR say for some Biological activity prediction
For the features that is on the independent variables
Say in my case the independent variables are topological indices
Is normalization of the features permitted to get QSAR MLR model equation
|
I saw a comment here by @gavin-simpson y-axis values in plot(gam) , I don't understand why trans = exp is used instead of trans = plogis , how do u decide which one to use?
The code I am using
library(mgcv)
b <- gam(outcome ~ s(week, k = 4, fx = TRUE, by = food) + food, data = df1, family = betar(link="logit"), method ... |
I was hoping to get thoughts on my logic/thought process here
I'm confused when it comes to running an A/B test on CTR. Experiments are typically allocated on a user-level, while CTR is typically an impression level metric (i.e. # of clicks / # of impressions)
How do we reconcile this?
My thoughts...
Aggregate data on ... |
Here is the question:
Suppose $X, Y$ are independent $N(0,1)$ random variables. And take the regression of $Y$ against $X.$ What is the relationship between $R^2$ and sample size approximately?
First I am not sure if "independent" is a typo in the original question. In ordinary least squares (OLS), there is no specif... |
Recently I've been learning Partial Least Squares (PLS), and learned that there are some variations of PLS, namely PLS-Canonical, PLS-SVD, PLS2 and PLS1 (mainly from the User Guide of PLS classes in the python's scikit-learn library. I could understand most of it, and have read the reference that page has provided (A s... |
I know how glmnet re-scales the penalty.factor with a sum nvar as discussed in this post.
$$
\underset{\beta}{\operatorname{minimize}} \frac{1}{2} \frac{\mathrm{RSS}}{n}+\lambda \sum_{j=1}^p \frac{c_j}{\bar{c}}\left(\frac{1-\alpha}{2}\left\|\beta_j\right\|_2^2+\alpha\left\|\beta_j\right\|_1\right)
$$
But when penalty.f... |
Does higher variance usually mean lower probability density? Despite the type of distribution. Thank you.
Update:
Sorry for confusion. Please allow me to clarify. If I sample the same number of data points from two distributions of the same type, but one distribution with a lower variance and another one with a higher ... |
To assess the impact of temperature and humidity on CPU performance, we conducted an experiment where we manipulated temperature and humidity levels. There were two within-subjects variables in the experiment: temperature (with high and low levels) and humidity (with high, medium, and low levels). We measured the perfo... |
I am a bit confused by Classical CLT section of the central limit theorem on Wikipedia. It basically says at the sample size gets larger, the difference between the sample mean and true mean approximates the normal distribution. But from the law of large numbers we know that as sample size approaches infinity, the samp... |
Somebody asked me for help to design an experiment with animals and its statistical analysis for a medical thesis.
She wants to "calculate" de sample size, and wants to minimize it.
She doesn't have any previous data yet.
The model is going to be a linear regression model with four covariates and repeated measures.
The... |
I have a patient group (n=30) who all have a specific kidney disease. I have their kidney function at baseline and their kidney function at follow-up 1 year later, and some confounders: age, gender, and smoking-status (never, former, or yes).
I have the following hypothesis: The patients’ decrease in kidney function fr... |
We know that PAC bounds tell us the empirical risk on training data cannot be too different from the true risk. My question is, does this result imply empirical risk minimizer also cannot be too far from the true minimizer in the parameter space? Personally, I don't think that is the case, as I don't see anything preve... |
I have a set of data points which are a number of parameters and a discrete measure. The data is bifurcated (using decision tree regression on the parameters) to select a sample which has the highest mean. I want to run some hypothesis test on this to determine whether the selected sample is actually a population from ... |
I'm looking for ways of fine tuning my FFN binary classifier, which operates on large, flat vector inputs. The theory behind ResNets seems promising to me, but I'm not confident about whether they are supposed to work with non-image data and without convolutional layers, or not. Even more, I'm unsure how to handle the ... |
Does outliers begin on the whisker limit or above it?
In the (Python) example below the calculcated upper whisker limit is 64.8125. Is a value of 64.8125 an outlier (>= upper_limit)? Or the outliers are higher then the limit (> upper_limit)?
>>> import seaborn as sns
>>> df = sns.load_dataset('titanic)
>>> df.age.quan... |
Suppose we have 52 decks with 26 red and 26 black cards. We shuffle them at a random order. Then we define a "block" as cards with same colors, for example, BRRB has 3 blocks and BRRRBBRRRR has 4 blocks. So how many blocks we would have, in the sense of expectation?
My though is that, we set indicator function $I_i$ re... |
I am trying to run an ANCOVA in R with a binary treatment variable, a continuous covariate, and their interaction (response ~ cont*bin). My understanding has always been that AN(C)OVA and regression are based on the same underlying model. In line with this, if I apply Anova() from the car package to a linear regression... |
Is it always necessary to perform a two-way ANOVA for assessing differences between groups in response to a stimulus?
One specific example: we look at the response of a nematode to a stimulus of 3% CO2.
In the assay,
worms are being exposed to 0% CO2 for three minutes,
then get challenged with a three minute 3% CO2 st... |
I proved that given a sequence of Bernoulli distributed random variables $ X_n$ with parameter $1/n$ they do NOT converge to $X=0$ a.s. using the Borel-Cantelli lemma.
My doubt is: If I have the space $\Omega=[0,1]$ with the Lebesgue measure and a sequence of random variables such that $$X_n(x)=\begin{cases}1 &~ x \in ... |
I have some results from a study pre- and post-intervention. It's for an underpowered feasibility study, hence I am not performing formal hypothesis testing but I'd like to calculate mean difference (with 95% CI) as per CONSORT 2010 guidelines.
My question is, what is the best approach for this? I am struggling for a c... |
I have been working with incremental parameter update, mainly incremental sample mean update. That is, for $k$-th iteration, the parameter $\theta^{(k)}$ is updated as
$$
\theta^{(k)} = \theta^{(k-1)} + \alpha^{(k)} (\hat{\theta}^{(k)} - \theta^{(k-1)})
$$
where $\hat{\theta}^{(k)}$ is the estimation target (or $k$-t... |
Basically I am implementing a CNN on custom data. I cannot go into specifics but I notice that no matter what type of model I use (For example: A custom model, or even Transfer Learning models such as InceptionV3) SGD seems to performing better. From what I knew RMSProp was the preferred choice for Inception but it is ... |
Is it possible to use estimates for chi-square test to estimate sample size for logrank test? I remember that I have seen papers that do it that way.
The problem is that, when you have to estimate sample size for time-to-event outcomes, you usually do not know the distributions of the times in the comparison groups. So... |
I'm very unfamiliar with Bayesian statistics, so forgive me if this question is obvious. The idea of a posterior predictive distribution seems to be incorporate uncertainty about the parameter $\theta$ (or, I guess, its estimate if you look at it in the classical way) when simulating and/or predicting the distribution ... |
I am decently familiar with basic random effect structures for mixed effect models (i.e., random intercepts per id) but struggle to identify the most justifiable structures for more complex study designs (i.e., crossed and/or nested random effects). I have examined most of the other questions/topics here and SO that di... |
I have a survey asking customers to rate their satisfaction on 1-5 scale.
I'm interested in learning the margin of error for a derived quantity, namely the "top2box%", i.e. the percentage of respondents who gave a $4$ or a $5$.
How would I go about calculating this? If treated like a simple multiple choice, I'd have (l... |
I read everywhere that the ideal way of training a model would be to e.g.: run k-fold learning for hyperparameter optimization on 80-90% of the dataset, then test the best model on the rest. As far as I understand, in each iteration of the k-fold, we receive an estimation of the generalization capabilities of our model... |
I use sklearn by the way, and I deal with this data set
After adding dummy variables, and doing the train test split, I get really bad linear regression results with cross validation.
However, with lasso regression, I do not have the same issue
What could be causing the linear regression to perform so bad with cross... |
I am doing some experimentation with multiple imputation (MI) for prediction, more specifically in the context of binary classification.
I'm doing this because there is not much to be found with regard to the application of MI for prediction.
I would like some pointers to actual research about this topic (multiple impu... |
Suppose that I have a list of numbers, say [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]. These numbers are realisations of a random variable $X$ whose distribution I am interested in.
Suppose I want to estimate the 5th percentile of this distribution (to form a confidence interval for $X$). Intuitively, I would take the lowest numb... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.