instruction
stringlengths
9
38.7k
I'm trying to use PSM on a dependent variable with 5 categories on STATA. I have tried teffects and psmatch2 but they didn't work. Error message shows there is no such outcome model specification (with mlogit). I wonder if anybody know how to do it? Thank you very much!
If a coin comes up Heads 90 times out of the first 100 tosses, should one expect Tails to make a comeback over the next 100? Reference from this page: https://www.financialwisdomforum.org/gummy-stuff/coin-tossing.htm It is my understanding from the Law of Large numbers; that in the above case tails should make a comeba...
Understanding that a linear regression model includes stochastic error, can I eliminate error from my model's predictions by subtracting one prediction from the other? Let's say we have a model of the form: Y = β1 + β2X + β3X + ei If I use this model to predict Y using observed data, predict Y based on a counterfactual...
I'm studying the Kibble's bivariate Gamma distribution and found one inconsistency between different papers and I'm not sure which is correct. In the Smith et al. 1982, A bivariate Gamma Probability Distribution with Application to Gust Model, the 4-parameter PDF of bivarate Gamma given in Eq. 2.5 is: $f(t_1, t_2; \gam...
I used simr package in R to determine the minimum number of subjects I need to obtain the main effect of variable A and the interaction between variable A and B on a number of dependent variables: DV1 and DV2. I ran the power analysis based on a dataset of 20 subjects using linear mixed effect model. However, the Power...
From my understanding, in linear regression maximizing the log-likelihood function is equivalent to maximizing the negative MSE. But what about other common regression machine learning models specifically, regression trees and neural network? Does maximizing the negative MSE equivalent to maximizing the log-likelihood ...
I am trying to predict the processing time of a process by using xgboost regression algorithm in python. However I realised that my samples data is skewed to left and my algorithm struggles to predict longer process times (right side of histogram). I want to oversample the values I lack currently. I have been looking ...
i want to calculate mahalanobis distance, from the formula and also theoretical explanation given here https://www.machinelearningplus.com/statistics/mahalanobis-distance/ i tried to implement it with help of r, here is my simulated data, their covariance matrix and applied formula : l ibrary(matlib) calculus_score...
We run OLS and found the Homoscedasticity is violated and Hence, we go for GLS. But from variance-covariance of OLS's error - we have already found the Ω. Now, if we want to estimate β coefficients in GLS, we can directly substitute above Ω in the equation: I am unable to understand - If we already have Ω (from varia...
I've read that if we want to use images of different sizes in a convolutional neural network without resizing the images to a default size, we can use Fully Convolutional Neural Networks. But I do not see how they solve the issue of images of different sizes. In this video Andrew Ng explains how we can turn a fully con...
Recently I've encountered the formula for finite population variance in Davison's and Hinkley's book "Bootstrap Methods and their Application" (see screenshot below). The formula includes $(N - 1)^{-1}$ rather than $N^{-1}$ (as it should be according to wikipedia). I understand that the $(n - 1)^{-1}$ factor appears in...
First I want to state that I got unexpected feedback from a reviewer in regard to my question and I am simply interested in others' views in this regard (I have already sent in my rebuttal). Suppose that we have $N$ observations of the random variable $Y$ and we know that they are iid. In addition, we believe them to b...
The final step of running a Cox model I've been working on involves performing log-likelihood ratio tests to check the significance of each predictor to the model. I'd like to do this using anova(full_model, model_minus_one_variable) for each variable. However, I am unable to do this because I have used robust = TRUE i...
I am trying to relate the interpretations of MLE as (1)minimisation of KL-divergence and (2)minimisation of empirical processes indexed by a metric space. Questions: Is it always true that maximum likelihood estimation is equivalent to the minimisation of KL divergence? (I've seen e.g., this but could there be some re...
I am performing a model selection analysis with some variations of the same 3-equation dynamical system of ODEs: $$ \dot{x} = f(x,y,z)\\ \dot{y} = g(x,y,z)\\ \dot{z} = h(x,y,z) $$ The particularity of the problem is that I don't have the same number of data points for each variable. Let's call $n_x$ the number of obser...
Suppose we role a dice and see what we get, the sample space is $\{1,2,3,4,5,6\}$ and each outcome occurs with probability 1/6. For example, if we look at the probability that 6 appears, it seems natural to interpret the probability of 1/6 as $plim \frac{n_6}{n}$ where $n$ is the total number of trials and $n_6$ is the...
I'm struggling with specifying the right R syntax for natural and (cubic) B-splines, using ns() and bs() of package "splines". To keep things simple, suppose I have a linear regression model, dependent variable Y and independent X. The X runs from 1 to 100, each value appearing once, the number of cases N being 100. I ...
I need to evaluate the accuracy of a prediction model (binary classification), given that I have some kind of uncertainty on the ground truth measurement. The model predicts the occurrence of an event at time T, T+5mn, T+10mn, etc. Unfortunately, the measurements are less frequent, and not aligned. For instance, it can...
Earlier today in my stochastic processes lecture, the prof mentioned that there does not exist a probability measure P(A) defined for all subsets of [0,1] which would satisfy all the 3 Kolmogorov axioms. If I understand correctly, the Kolmogorov axioms are supposed to lay out the basis of any given probability measure ...
I've been struggling to figure out the best technique to assess model accuracy in relation to the train/test split. Leave-one-out cross-validation and KFold appear to be more appropriate to utilize; however, LOOCV does not count more than one row of data as a holdout set, and KFold shuffles the data, preventing it from...
For my research project, I use SHAP values for plotting multiple diagrams to investigate the prediction process for a XGBoost and CatBoost model. I wonder how xgbc_explainer.expected_value (also known as expected_value, base_value and E[f(x)]) is calculated. In my understanding, E[f(x)] is calculated by averaging the ...
From some process I got a series of values. I want to compute the variance of the mean from this series. The series is built with contiguous sub-series. In each sub-series the values are correlated. All sub-series follow the same pattern but they have different total lengths. I read on Wikipedia that for correlated var...
I hope this is not outside the scope of this community - in case, just sorry me. I am going through adapting my manuscript to some author guidelines. Regarding p values, they say: p values should be given to two significant figures, unless p<0.0001 Now, I have some doubts regarding what does this means. Here is a tab...
PCA maximises the variation in $X$. Now, suppose $X$ is causal to $Y$. Is there then any analogous way to decompose $X$ into the principal components that cause the most variation in $Y$. For an example, suppose linear combinations of the first 2 features $x_1$ and $x_2$ from $X$ can predict all of $Y$. Would it be pos...
Given a Beta Prime distributed random variable $X \sim BP(a,b) $ with probability density $$\rho_X(x) = \frac{\Gamma(a+b)}{\Gamma(a)\Gamma(b)}\frac{x^{\alpha - 1}}{(1+x)^{a+b}}, x > 0$$ Consider the distribution of $$Y = K \sqrt{X}$$ where $K > 0$ is a constant. Does the PDF of this distribution have a closed form? I...
I have two sets of vcf files with different samples but from the same population. I merged the two and want to compare the two sets via PCA analysis. Since the two set is from the same population I expect an overlap on the PCA. But when I plot the pca results, (PC1 vs PC2), there is a shift in the first PC but not on t...
I feel like I should have been able to find an answer to this and haven't, which leads me to believe I'm missing something obvious. Your insight is appreciated. I have a set of sample data, n=73, with s=2.275 and mean of 1.821. Based on this sample, I need to calculate the probability that the population mean is in the...
I need to demonstrate discriminant validity for two subscales (subscales have 6 and 7 items) that should differ between males and females. There is a theoretical basis that there should be a differences in gender. What's the best approach? Thanks!
I'm working on the example for nested ANOVA from the Handbook of Biological Statistics. Copy-pasteable data can be found at https://www.biostathandbook.com/nestedanova.html and below shows my calculation. According to the text, MSwithin, MSsubgroup and MSgroup are 0.0360, 0.1435 and 0.0384, respectively. I got only MS...
I am analysing a cohort study done on a certain disorder. It has around 80 baseline variables and a binary response variable indicating the presence or absence of the disease, collected at 4 time points. I can use generalised linear mixed models (logistic mixed effects models) to analyse the longitudinal data. However,...
I'm looking for a succinct explanation of the difference between variability and variation. This question gets at the difference between variance and variation. This page references Van Belle 2008 in describing variability as one category of variation. Is there a context where it is acceptable to use variability and va...
I have simulated 10 000 occurrences of a soccer match, by generating random numbers from 0 to 1, and then passing these, and the adjusted expected goals by team for the match, through an inverse Poisson function in Python. The frequencies of the results are then summarized by a function either as «home team wins», «tie...
My team is conducting a counterfactual difference-in-differences (DiD) healthcare analysis to estimate the benefits of home nursing visits compared with a control group. We've "pre-selected" variables by plotting a causal diagram, to eliminate mediators, colliders, etc. Then, following the advice in Zeldow & Hatfield ...
if we have two models M1 and M2: MAPE_{M1} = 100% and MAPE_{M2} = 70%$ Does that mean that M2 is better than M1? can we say that M2 is (100/70 -1)*100 = 43% better?
Regarding the gamblers fallacy I have 2 questions: Is it rational for getting more surprised after each time for example a six side dice comes 6? How is it that a dice rolling 6 ten times changes the probability of dice fairness to us? Let me clear a bit each question: Surprise rationality: The probability of a dice ...
I am revising confidence intervals, and the books that I have found mentioned a wide confidence interval and a small confidence interval but do not define what is "wider/large" or "small." Hence the question: what is considered a narrow 95% confidence interval, and what is considered a large confidence interval?
Using normal distribution probablilty density function(pdf), \begin{align} f_Y(x) = f_X(X) &= \frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{x^2}{2\sigma^2}} \\ \end{align} Taking $Z' = X^2 = Y^2$, the corresponding pdf is, \begin{align} f_{Z'}(z) &= f_x(x) \left| \frac{\delta x}{\delta z}\right| = \frac{1}{\sigma\sqrt{2 \pi}} e...
I have a sequences of random iid non-correlated positive integers sampled from some (unknown) distribution $\boldsymbol X=[n_1,n_2,...,n_N]$. From it, I built another sequence in the following way: $$ [1,2,3,...,n_1, 1,2,3,...,n_2, ...,1,2,3,...,n_N]$$ That is, I replaced each $n_i$ with a list $1,2,3,..,n_i$ (note: th...
I found this post very helpful in learning about GPC: https://krasserm.github.io/2020/11/04/gaussian-processes-classification/ Looking at the last figure in the post, I'm puzzled by the variances of the latent logit variables. I assumed the variances would be highest near the decision 0.5 line. However, this is where ...
I am trying to develop a clinical risk score using a prediction model to predict the risk of developing a severe outcome (a type of tumour) that usually occurs in older adults from less severe clinical manifestations of the disease usually occurring in children (all chosen based on clinical expert knowledge on the dise...
How good do accuracy, precision, recall, and F1 have to be to use for flight critical environments? Maybe there are rules of thumb, general practices, best practices, lessons learned, etc. Flight critical typically likes to see 10-9 for flight critical mishaps and occurrences, so is there an equivalency of the values f...
Simple question here. Consider an urn with balls of three colors. 50 % of the balls are red, 30 % black, and the remaining balls green. The experiment is to draw a ball from the urn. What is the probability of drawing a black ball? Obviously the answer is .3 I'm trying to use this theorem to arrive at the answer: Theor...
A reviewer has suggested I do a hierarchical linear model for a journal article, but none of the tutorials I could find online: (Example: 1, 2, 3, 4...) were helpful. I want to construct a hierarchical linear model that has multiple predictor variables on each level. I’m using the lme4 library in R. I want to see if th...
The curse of dimensionality refers to the fact when a model tries to fit the data in a very high dimensional space (and there is not enough training data). In my mind, I believe that this curse happens for all machine learning models. However, someone told me that trees (for instance xgboost and lgbm) are not affected...
I'm new to the mixed effects approach and I'm struggling to understand how to apply it to my relatively complicated experimental design given that all tutorials and articles I read are not directly comparable. We are studying how perceptual accuracy differs depending on a number of factors. Specifically, people are ask...
to investigate whether there has been a statistically significant difference in the number of animals that died because of physical trauma in recent years, and 2) to investigate whether there has been a statistically significant difference in the number of animals that died because of infectious disease in recent years...
I am a complete beginner in statistics and I am confuse which method is more appropriate. I have two variables; The independent variable is continuous ( hours) while my dependent variable is ordinal (high motivation, moderate motivation, low motivation). I am confuse whether to use spearman rho or ordinal logistic ...
I have a set of data taken from a number of machines. A simplified version of the dataset is shown below: id time1 time2 time3 time4 time5 time6 time7 failure 0 1 1.824 3.107 9.695 0.944 0.151 2.365 NaN 0 1 2 3.573 0.728 3.001 5.470 4.078 3.713 0.761 1 2 3 5.064 6.090 8...
When discussing marginal sums of arrays in 3 dimensions or more, is it customary in the statistical and/or data science communities to use the Einstein summation convention? Is some other form preferred? The context is an integer linear programming (ILP) optimization problem where the decision variables are $X\in\mathb...
I recently just started learning about NLP and word representation. I have been trying to implement the negative log loss likelihood function but am having some trouble with it and would like to ask some questions about negative log loss likelihood. Here is what I have look into: Given 2 matrices of $V\times N,$ one fo...
Using an example similar to the one from R predict, simulate some independent variable ($x$) data, map them to an observed dependent variable ($y$) using a linear function for the true value (I chose here $3 x - 1$), plus a random normal error. Then fit a linear model to the data. set.seed(8298) x <- runif(15, -3, 3) x...
I am wondering why introductory books on statistics use a conjugate distribution family for the prior instead of using the same pdf of the one we are trying to infer the parameters? For example, the binomial distribution has the Beta distribution as the prior. They are very similar except for a normalization constant d...
Given the point estimate, lower, and upper confidence limits, I'm trying to get the standard error of an odds ratio ($\hat{OR}$). Suppose that we have $1.19 [1.14, 1.23]$. Assuming it's 95% confidence interval, is that correct if I calculate $SE(\hat{OR})$ as: $$SE(\hat{OR}) = \frac{1.23-1.19}{1.96}=0.02040816?$$ If no...
I know for example, one could try the Recurrent Neural Networks approaches. But are there any other options to these? I don't know if the questions is rather absurd. I am thinking of models like either Decision Trees, Gaussian Processes, or any other Machine Learning alternatives. I am wondering if one could do somethi...
Consider a Beta distributed random variable, $X \sim Beta(a,b)$ Then consider the transform $$Y = \sqrt{K\frac{X}{1-X}}$$ where $K > 0$ is a constant. How could you go about finding the PDF of $Y$? Is it a named distribution? It seems that you cannot apply the transformation formula, since the mapping is not strictly...
I have been running with this error for a long time and I have been failing to fix it. Does anyone have an idea? models were not all fitted to the same size of dataset``` MaggYN4 = glmer(AggYN ~ AGE + SocialFYN + SocialMYN + Oestrus + (1|ZOO) + (1|`MALE ID`) + (1|`FEMALE ID`), data=subset(Data_Okapi, Aggression<4), ...
Assume I have a continuous variable X with PDF f(x). I know that, for every value of x, P(X=x) = 0, so the value f(x) is not the probability. But what is it exactly? If we have f(a) = 2 * f(b), can we say that the value of a have twice of probability to appear compared to the value of b?
My dataset contains two numerical variables (n1, n2) and six indicator variables. The first three indicator variables specify the location of a property (i1=north, i2=center, i3=south), the next three indicator variables specify the color of walls (j1=blue, j2=red, j3=other). Let's say I want to predict the property pr...
Background/problem I am trying to solve: I have vehicle timeline data for position, velocity, accelerations for all vehicles on a section of a motorway for ~30min where adjacent data points are spaced ~0.1s in time. I am trying to construct a regression neural network model which can predict one-dimensional vehicle acc...
I have acquired experimental data that can be considered to be a scalar field in physical three-dimensional space, $(x,y,z)$ that I have observed over time, measured on an equally spaced regular grid. At each point in space I have a set of measurements in time. I have a good physical understanding of the process going ...
I have multiple imputed data and will be conducting an identical lightGBM model with the same input features in each of the imputed datasets. My aim is to calculate SHAP values (SHapley Additive exPlanations) for each of the features in the model, but that leaves me with a different set of SHAP values for each model co...
I have a question about IV regression with 1 endogenous (END) and 1 exogenous (EX)variable. Endogenous and exogenous variables are moderately correlated (.21). The instrument (INS) is correlated with the endogenous variable with .09. After the first stage, the correlation between exogenous variable (EX) and fitted endo...
Assume a pure prediction problem. Say I want to evaluate a prediction-focused survival model in the context of actual dates instead of at a specific survival time or integration thereof. What would be the correct way to approach this/which metrics would be the correct measures of calibration/discrimination in this case...
If so, Wikipedia is wrong? Wikipedia: $\sqrt{n}\left(\hat{\beta}_{F G L S}-\beta\right) \stackrel{d}{\rightarrow} \mathcal{N}(0, \mathrm{p}-\lim \left(X^{\prime} \Omega^{-1} X / T\right))$ Powerll from University of California, Berkley: $\sqrt{N}\left(\hat{\boldsymbol{\beta}}_{F G L S}-\boldsymbol{\beta}\right) \sta...
I'm making a scatter plot of two statistics X(e) and Y(e) for various values of scalar parameter e. The sampling distribution of both X and Y is not normally distributed. Now I want to calculate a 2-D 95% confidence interval/region for each point (X(e),Y(e)) in the scatter plot. How can I do that? Since the sampling di...
I'd like to use anova to investigate which variables are important to my Cox model outcome. I tried using anova from {stats} and car but it seems neither can handle strata() terms, which I have in my model. I can't use anova from rms because I have pspline() terms in my model. An ideal solution might be anova.coxph fro...
I am executing a lightGBM model to forecast my units sold (qty) over a period of time. Objective is to run a model for each product group and be able to capture the trends, price elasticity, etc and make relevant predictions in the future when future prices are known. Features used (Xs): Mean price of product group (t...
I want to test for several, predefined interactions with my main variable of interest in a multivariable adjusted Cox regression model. Is there a recommended way to proceed? Specifically, should I test these interactions one after an another or include all of them at once? And when I find one significant interaction (...
1.https://arxiv.org/pdf/0804.1441.pdf 2.https://www.sciencedirect.com/science/article/abs/pii/S0925231210001165 These papers describe kernelizing a mahalanobis distance learner. I am interested in formulating generalized least-squares as a kernel machine. Wikipedia:$\hat{\beta}=\left(\mathbf{X}^{\top} \boldsymbol{\Omeg...
I downloaded a simple implementation of the Ising model in C# from this link. I have understood more or less the entire code except the following routine: private static void transient_results(double T) { for (int a = 1; a <= transient; a++) { array_to_list(); for (int b ...
FactoMineR package is helpful when doing PCA and much more. Coming across the output using dimdesc() function and looking at the estimates of supplementary qualitative variables I didn't grasp the idea of how these estimates were calculated. After peeking into the code of the function, these estimates seem to be those ...
KS tells how different two distributions are from each other. Assume I have a classifier model that has completely misunderstood the data and predicts a 0 for every 1 and a 1 for every 0. Assume the probability distributions are really far apart. Wouldn't this model have a horrible accuracy and a really good KS, since ...
I'm working with data for a 30-item questionnaire that was administered at 24, 30, and 36 months of age. The data is largely complete, with the exception of age 36 months; at this age, we have one item (let's say item 11) that is missing like 90% of its data. This item is not missing anywhere near as much data at other...
I'm looking for some metric of surprisal when comparing ranked lists - things along the lines of (eg) the rankings in a marathon race, or the times in the race. Intuitively, in a race with 100 people, it is not terribly surprising if #60 moves up 10 spots (since there is probably a pack in the middle), but it would be ...
I've read a lot about using xgboost to forecast time series, but I feel like I've completly lost my mind and can't understand something very basic. Would like just a confirmation if my reasoning is correct. I've got time series data to predict Sales (Y) monthly and to do so I want to use variables like: number of work...
Suppose that we have replicates from a Binomial distribution, i.e. $$n_{1},n_{2},...,n_{R}\sim Bin(N,p)$$ Then the likelihood can be written as $L(p,N|n_{1},n_{2},...,n_{R})=\prod_{r=1}^{R}\binom{N}{n_{r}}p^{n_{r}}(1-p)^{N-n_{r}}$. Suppose that our interest is for $N$, then we can realize that the $n_{1},n_{2},...,n_{R...
I am analysing a cohort study done on a certain disorder. It has around 80 baseline variables and a binary response variable indicating the presence or absence of the disease, collected at 4 time points. I can use generalised linear mixed models (logistic mixed effects models) to analyse the longitudinal data. However,...
I ran a multivariate meta-analysis to account for dependencies of effect sizes using metafor and then I also applied a robustness check using the robust function of metafor. However, I am not sure how I should interpret the results of this robustness check. Can anyone help with this? Here are the results of the multiva...
1 Thanks to everyone in advance for their time! I am trying to run a TVP-VAR for a panel in the statespace mlemodels in statsmodel. I get an error while trying to fit the model TypeError: '>=' not supported between instances of 'method' and 'float' File "/opt/anaconda3/envs/spyder-env/lib/python3.10/site-packages/num...
Given the hierarchical model $$ \begin{align} k & \sim \text{Categorical}(\pi_1, \dots, \pi_K) \\ X \mid k & \sim \text{Bernoulli}(\theta_{k}) \end{align} $$ and an i.i.d. sample $X_1, \dots, X_N$, it is standard to use the EM algorithm to produce a joint estimate of $(\boldsymbol{\theta}, \boldsymbol{\pi})$. But what...
It's for the following use case: I have a set of "detects" of a group of individual targets (mostly stationary) that I wish to cluster or segment such that each cluster (group of detects) represents an individual target. These clusters are sparse enough, and the noise in the location estimates are low enough, that a si...
I'm trying to gain some (deeper) understanding of MSM's - what exactly they are and when they might be appropriate to use. Are my thoughts on the following correct (please feel free to correct any misunderstandings I have): Any regression model specification that has a treatment or exposure as the only covariate of in...
Suppose I have a dataset with outcome continuous. I applied various transformations on either covariate, outcome or both. I have also tried polynomial terms. I always get over heteroscedasticity when looking at scale location plot. I also find regression coefficient significant which might be due to heteroscedasticity....
I'd like to create a representative sample from a larger population for monitoring (a hold-out control). I've thought of three approaches and am trying to select between them (plus I'm open to others): Simply to take a random sample. Perform a distribution test on the sample and reject/repeat if it is too different P...
I hope this doesn't come off as a dumb question. I am just having difficulty wrapping my head around why my denominator degrees of freedom are different for most of my linear mixed-effects models when the total number of data values is the same for each model. From my understanding, my degrees of freedom and denominato...
Updated: I do not have enough points to comment so... Thank you Ben, you did interpret my question correctly. There are three treatment categories: control, A, and B. Thank you for clarifying that from Y=treatment+covariates, the coefficients of each A and B are the treatment effects relative to control. On the other h...
I have been studying GANs and I got confused in the training phase from the discriminator. Which I think only trains on Real data, not on the generated data which then helps in distinguishing or classifying whether the input is real or fake. I need to confirm that is true what I am thinking or if it does train on fake ...
I am an MBA student is taking statistics courses. Our statistics prof was teaching us about correlations in statistics. We learned about Pearson's Correlation of Coefficient which is defined as the correlation between only two variables. I am asked the prof if the correlation can be calculated between more than two var...
A very short question: What would be the probability density function of a parallelogram? Could we consider it as a two triangular distribution (in pink) that behaves the same and a uniform distribution (blue)? what would be the PDF of this geometrical shape in this case? and how would the PDF formula change if we ske...
I am performing exact matching on a set of continuous and categorical covariates. Once the matched (via MatchIt) is performed, I use logistic regression to estimate the effect of my treatment variable on a binary outcome. At this stage, I include all the covariates used in the matching procedure, as I want to isolate t...
When conducting a post hoc test e.g. after an ANOVA and correcting for multiple comparisons, do I need to correct for all possible tests or only those that I am interested in? I've seen contradictory information on this. But I think that if I correct only for a few comparisons then that would essentially be a planned c...
Experts, I have some trouble concerning my regression model for a panel data analysis. The dataset includes observations of 200 firms over a period of 6 years (2000 - 2005) regarding merger activities and profit. The aim is to model the impact a merger has on firms' profit. For that reason, a regression with fixed effe...
A random model has an area under the ROC curve equal to 0.5. We also know that a random model has an area under the Precision-Recall curve equal to the proportion (p) of positive examples. Then, here's my question. Does a model with an AUCROC of 0.5 always imply an AUCPR of p? Or is it possible to be different? If so, ...
I have made the Precision-Recall for my model. The red line is the prevalence. I do not understand the fluctuations in the beginning. Should it be more smooth?
I'm fitting a negative binomial glm to this dataset of 102 records (R code to reproduce below): dat[1:10,] n_vsg is_intermediate size 1 4 TRUE 384417 2 0 TRUE 221292 3 4 TRUE 185133 4 3 TRUE 180336 5 0 TRUE 142391 6 0 ...
I noticed a statistical method called inverse normal transformation in the following research article FTO genotype is associated with phenotypic variability of body mass index. I attached the supplementary note of it below. To be honest, my statistics background is not so strong and I only understand that INT is used ...
I want to visualize the 2D CNN output features with tSNE, but most methods use FCN output, this is 1-D feature, for exmaple in https://cs.stanford.edu/people/karpathy/cnnembed/, but my problem is that I do not have the FCN layer, my output is 2D feature, I do not think that flatting the 2D to 1D is the best idea, do yo...
After an extensive search online and unfortunately not being able to find a good answer to my question, I am wondering whether it is possible to perform e.g. k-fold cross-validation or bootstrap validation on a mixed model for longitudinal data as would usually be done in R (i.e. creating folds, using predict() etc.). ...
I'm training a MLP classifier with a softmax output that outputs 4 classes. For my particular application I'd like the classifier to output a fifth 'other' class when the input don't belong to any of the 4 classes. I've seen several discussions on the topic here and elsewhere, but couldn't get to a final solution. I ca...
My objective is to derive an expression which lets me express the conditional probability of $A$ being less than 10 given that $B$ is equal to 20, in terms of the cumulative distribution function of $\epsilon$. To do so, we're provided with the linear model in equation (1). $$A = \beta_0 + \beta_1 B + \sigma\epsilon \q...