instruction
stringlengths
9
38.7k
I, a novice, have a dataset which I would like to use for multiclass classification. I know that the data is skewed, but luckily, my dataset contains an observation weights column. The observation weights are continuous. Label Weight Feature 1 Feature 2 Class A 0.1 ... ... Class B 12 ... ... Class C 2.4 ......
Given that $\phi : \mathcal{X} → \mathcal{X}′$, prove that $k(u, v) = \tilde{k}(\phi(u), \phi(v))$. I've seen similar proofs where if $\phi : \mathcal{X} → \mathcal{X}$, the transformation is simply in a transformation into a different kernel in the same domain (e.g. here, page 18). Does the same logic apply here with ...
Suppose we are trying to model by linear regression $Y$ on $X$. However, we only observe $(Y,X)$ for $R = 1$. We know that $Pr(R|Y,X) = Pr(R|X)$, meaning that the missingness has nothing to do with the outcome. Why can we ignore the missing data in this case? Why will we have unbiased estimators? I have seen many resou...
Recently I encountered this article of Prof. Imbens (https://arxiv.org/pdf/1907.07271.pdf). It address the capabilities of DAGs for causal inference in comparison with PO. I’m interested in opinions about the fairness of his position. I give my main points in my answer. I can try to defend what I write but I can go wro...
Original model: ln(chnimpt) = β0 + β1 ln(chempit) + β2 ln(gast) + β3 ln(rtwext) + β4bef ile6t + β5aff ile6t + β6af dec6t + ut Problem Set: Add monthly dummy variables (they are already in the data set) to the model plus a linear time trend and test for seasonality by testing for the joint significance (using an ...
In this page, it says Chi-Square must meet some assumption. Assumption 2: All observations are independent. It’s assumed that every observation in the dataset is independent. That is, the value of one observation in the dataset does not affect the value of any other observation. Assumption 3: Cells in the contingency ...
I understand that Confusion Matrix evaluates prediction results with metrics such as precision, recall, accuracy and F1-Score. My question is regarding the data used for prediction. Is it okay if this data has been seen by the model? That is, if the data used for generating predictions was the same data used for traini...
In the Book of Why, Judea Pearl, there is the case of a Berkley admission gender discrimination paradox which was solved by Peter Bickel. The solution was done by searching for discrimination department-wise (conditioning on departments). However, Kruskal later showed a counterexample clarifying that conditioning on de...
Hello I would like to perform restricted cubic spline (Cox adjusted) after multiple imputation with mice.I use rms package. but after imputation when I use the function datadist I get this message (Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...) : 'x' must be atomic.) I'm using the following code....
I've been working through the textbook Time Series Analysis and its Applications (R. H. Shumway & D. S. Stoffer 2ed). The topic I'm looking at is forecasting using ARMA models. The below assumes that $\mathbb{E}(x_{n+m}^n)=0$ First, we want a one-step-ahead prediction using the best linear predictor of the form $$x_{n+...
I have a polynomial function representing a distribution function: $x^4 -6x^3 + 9x^2 ; 0 \le x \le 3$ but I need to get a discrete set of $ n $ data points representative of this distribution. I've seen there's many existing code libraries to do this for more standard distributions like binomial and normal, but is ther...
Consider a 3D space that contains many opaque objects which can obscure vision from one point in the space to another. Suppose I have a sampling of points in the space, and also a sampling of which points are visible from one another. Is there a way to build a model $f$ that takes in two points $A$ and $B$, such that $...
Given sample data that have a known probability distribution for large x and an unknown probability distribution for small x, what is the best way to find the value of x where the known probability distribution begins? I imagine trying a bunch of qq plots and then seeing where the best fits are would be how to go about...
I have built and experiment with a small network by batchnorm-relu-conv rather than conv-batchnorm-relu as suggested by DenseNet(2017). In denseNet, Before global average pooling layer, there are batchnorm and relu added below the last conv layer. What would happen if i removed batchnorm and relu from here? In my exper...
I am trying to do an ROC analysis to check whether a particular biomarker has any diagnostic power for screening a condition. Since I have only small dataset of 100. I am not splitting the data into training and testing. Is it valid to report the AUC by just doing the analysis on training data set?
I am working on a binary classification suing random forest with 977 observations and 15 columns. (75:25 class portion). Imbalanced dataset.. I got the output like below for train and test datasets Train data Test data While I understand that test data performance is poor. But for train dataset it is too good. q1) Ho...
Is there anyone who is familiar with honest causal decision trees? What is the purpose of the same and how can I implement it in my code in R? I am looking into the predictors (cognitive, non-cognitive, and family level predictors) of adolescent academic performance.
I am comparing three regression models, simple linear regression, Lasso and Bayesian Lasso then the R-Square and RSME for them are r2 score for Bays model is 0.10171034421952285 rmse score for Bays model is 0.7888288293573854 r2 score for regression model is 0.3303114752643104 rmse score for regression model is 0.68110...
Prove that $E[x^n] \geq (Ex)^n$ for $n = 2k$ I only have the formula of E(x) but I don't know how to prove it.
I have a confusion matrix like as shown below pred 0 1 0 17 38 act 1 16 174 I am trying to find the measures of classification report manually by hand (for class 0) When I do it for target class = 0, I get the 51% as value for precision 17/(17+16) = 51% (Actual 0's/Actual 0's+ 1...
I would like to know how to proceed when fitting a model (lm/glm) if a) The distributions between the dependent and the independent variables are different (y = Normal, x = Weibull) b) The distributions among the predictors are different (for example: y = Normal, x1 = Normal, x2 = Weibull, x3 = Weibull). In case of a):...
Let’s say I have the following dataset: Student Age Class 1 23 Maths 2 26 Physics 3 24 Maths 4 24 Maths 5 28 Physics … I plotted it considering the relative frequencies (y-axis) and age on x-axis: Where line 1 is Maths and line 2 is Physics. The number of obs in each class is different (200 in Maths vs 100 in Physics...
Suppose you were modelling whether a person's ethnicity meant that they had different chances of getting a job due to discrimination. You have a couple of confounding variables e.g. deprivation - in England in 2019, 31% of Pakistanis lived in the most deprived 10% of neighbourhoods, so they may not get the same educati...
I have a dataset of book sales by rank and the color of the cover. I would like to find a relationship between the rank of the book and the color of the cover. I'd like to know how to do this analysis in R. This is how the dataset looks like: Book MainColor SecondaryColor Ranking Book 1 White Black 1 Book 2 W...
In HLM software, when running 2 level null model, its come out There are no degrees of freedom to estimate sigma_squared. Set sigma_squared to a constant, or delete one or more of the random effects from the model. I trying to change level 2 variables to nominal variables, but it didn't help. Can anyone share the exp...
As far as I am concerned, statistical/machine learning algorithms always suppose that data are independent and identically distributed ($iid$). My question is: what can we do when this assumption is clearly unsatisfied? For instance, suppose that we have a data set whith repeated measurements on the same observations ,...
I'm working on a research project for a call centre, it's been a while since I have done any applied statistics so I could really use some help. Here's what I want to do: I need to understand why customers are calling into the call centre so I can design an appropriate queuing and prioritisation strategy. I plan on ask...
In my data, all observations reach the endpoint (here disease). I would like to investigate the dependence of the age of onset of disease on binary covariates (e.g. smoking yes/no etc.). What would be a suitable model here, or is there a standard regression procedure that is typically used to analyze such data?
The paper for Universal sentence encoder Universal sentence encoder paper! is pretty straightforward, and so is the paper for Deep averaging network Deep averaging network paper! but I'm confused about one thing in Universal sentence encode, what's the embeddings they've used for the Deep averaging network! seems like ...
For two random variables $X_1$, $X_2$, probability of superiority ($PS$) is defined as the probability that a randomly chosen $X_1$ is greater than a randomly chosen $X_2$: $PS \equiv Pr(X_1 > X_2) \tag{1}$ Suppose $X_1$, $X_2$ follow independent normal distributions with known parameters. Since the parameters are know...
I'm fairly new to statistics and came up with a problem. I have a sample with a variation coefficient CV = 0.517 for variable x, and I want to prove this variable is not correlated with a second variable y. In my college textbook it is said that with CV within 0 and 0.1 the mean of the sample is representative, so that...
I am running this model using lme4: RT4.model = glmer(RTs ~ conditionStimuli + sequenceTrials + (conditionStimuli + sequenceTrials || Num_part) , data = data_RTs_go , family=inverse.gaussian(link="identity") , control=glmerControl(optimizer="bobyqa" ...
How can I fix the straight line? is that mean that 70% of my cases that tag as positive and actually negative have the same value?
I'm getting system is computationally singular error even after drop variables with high autocorrelation in a Panel Var regression. I'm using public crop insurance data. The objective of the model is to verify how the number of insured farmers, the number of insured policies, and the insurance premium by state are rela...
I created a dummy dataset and compared the performance of SKLearn LinearRegression and Keras. Why is Keras producing horrible results compared to Linear Regression? Code: # Create Dataset from sklearn.datasets import make_regression X, y = make_regression(n_samples=5000, n_features=10, noise=0.1) # Build Linear Regres...
When producing a GLM (generalized linear model), one usually wants to have an estimate of the variance-covariance matrix of the fitted coefficients, which happens to have a closed form solution with a peculiar structure. If we denote the features/covariates as $\mathbf{X}_{m \times n}$ and the obtained coefficients as ...
I am trying to follow the derivation for the variance estimator in the Neyman-Scott problem given in this article. However, I'm not sure how they go from the 2nd to the 3rd line of this derivation. Any help is appreciated, thanks!
I've been stuck on this issue due to inability to reproduce the performance of PCA-classification pipeline on training data, but in case the pipeline receives one sample at a time. This seems to be floating point arithmetic issue. Using sklearn I fit the PCA model to the matrix data: pca.fit(X_) - shape of X_ is (109,...
We want to model a plant functional group's presence probability (True/False) in six different environmental conditions based on data taken from over 200 studies with a binomial glmer from the lme4 package. Most studies have several observations/ plots, and various parameters differ between studies, such as sampling me...
I have data with columns "y" and "n", which for this example can be "y" count of heads out of "n" coin flips. There are "i" rows ie "i" different coins: $$ P(y_{i} \mid p_{i}, n_{i}) = \binom{n_{i}}{y_{i}}\: p_{i}^{y_{i}} \: (1-p_{i})^{n_{i}-y_{i}} $$ When I calculate the MLE of $p_{i}$, this comes out equal to $\frac...
I will edit this question for more specific questions. I want to predict the presence of multiple, binary questionnaire items with a classifier, such as SVM. I do this via 10 fold nested cross validation, optimizing hyperparameters in the validation set and evaluating performance on the hold out test set. All CVs are b...
Assume we have a loss function of the form: L(f(X; theta),T) where X is the input dataset and T is the target dataset? Then you would update the the paramters by doing p = p - p.grad where p.grad is the gradient achieved through gradient descent (not important here) then I understand that L2 norm is a method of regular...
I am new to statistics and have a question. Suppose I have a test in which I have to compare the number of live cells grown in different conditions after a period of time and I don't have any biological replicates as I performed the test only once. For example, the data would be something like this: condition A = 500 c...
I'm working on a project where I'm interested in comparing the performance of a Neural Network to human performance on a multisensory perceptual task. The task is quite easy, but I'm more interested in assessing the internal representations of the network. The human task is a multisensory 'rate-categorization' paradigm...
First of all, this question is related to this one: Principled way of collapsing categorical variables with many levels? but I think the scope of the answers I'm looking for is different. Just to present a problem, assume we want to perform a logistic regression in which we have two categorical variables as input, each...
I have a simple model that I wish to fit using data. The model is of the form below. \begin{gather} y_t = -\lambda r_t + \theta a_t + \varepsilon_1 \\ \\ \pi_t = \pi_{t-1} + w y_t + \varepsilon_2 \\ \\ a_t = -\alpha r_t + \varepsilon_3 \\ \\ r_t = \phi_1 \pi_1 + \phi_2 a_t + \varepsilon_4 \end{gather} where $\varepsilo...
I have about 50 observations where every observation is composed of a time series of an index and a value Y. Is it possible to use the time series to predict the value Y? What do I need to study to work on that data? Adding information about my data: I'm studying in the agriculture sector. My time series are composed o...
I have a few times series that are Google search terms which a period of length 1 year with 12 months in each year. As we are in February, the latest data shows only one and a half months. All my decomposed series show a downward trend at the very end of each graph. Is this a real trend or do I need to apply a correcti...
Tipically, the variance of a p-dimensional random vector $$X = (X_1,...,X_p)$$ is defined as a the covariance matrix given by: $$E[ (X- EX)^T(X- EX) ]$$ But, in the second page of this paper, the variance of $X$ is defined as: $$v(X)= E|X - EX|^2$$ I've never seen this definition and I would like to know more about th...
In 2020, the U.S. Census Bureau began injecting noise into census counts using a differential privacy technique. See here for a popular press description and here for some official literature. The introduction of this noise makes counts from individual blocks unreliable, but the counts should become increasingly accura...
Using this question as background: https://stackoverflow.com/questions/71023822/lstm-multi-variate-multi-feature-in-pytorch I was wondering how one processes the output of a pytorch LSTM I was using this as a reference: https://pytorch.org/tutorials/beginner/introyt/trainingyt.html And looking at the loss function, and...
I have a data set the looks like this (called rand_df as this is a random subset from the much larger dataframe): structure(list(motive = structure(c(2L, 4L, 5L, 3L, 5L, 3L, 3L, 3L, 2L, 1L, 5L, 5L, 2L, 1L, 5L, 6L, 3L, 5L, 3L, 5L), .Label = c("Build skill", "Enjoy Nature", "Fish to eat", "Other", "Relaxation", "Social...
My questions is for Poisson models and Cox models. The context is rare/small number of events. We want to adjust for a few categorical confounders: sex, age group, baseline risk, but are not interested in their effects. There will be some empty cells, but there will likely be events in each marginal category. It seems ...
I am running randomForest() to fit and evaluate models using randomForest R package. The R-squared values provided by the model do not match the observed relationship between y and predicted, and if I call predict(model, x) on the training data, that provides yet another correlation/R-squared between predicted and obse...
Consider this example: I have a box with 10 balls in it, 9 red and 1 blue. I take a ball randomly. Let's call the color $C$. If $C$ is red, I shout the number zero. If $C$ is blue, I roll a fair die and shout the number on the die. Let's have $X$ represent the number I shout. Now, before this experiment, the entropy (u...
I need to estimate $P(data)$ for a Bayesian problem, supposing I have the distribution on which the data are being drawn, can I use the likelihood to estimate that? I'm asking because as far as I know, likelihood is not a probability, but for discrete rv it's like considering $$ P(X_1=x_1 \cap X_2=x_2 \cap ... \cap X_n...
I am trying to re-create the factor scores computed by AMOS for a latent construct. However, I get a very different answer when using the "Estimates" for the variables than when AMOS computes the factor scores (using the Impute method). So for example, AMOS reports the weights of the variables as: V1 ~ Latent_var1 = 1 ...
I want to represent my data (n=150 samples with a curve of value over time, similar to BMI representations in figure). Possibilities are either mean/std and median/percentiles. The question are: Can we chose the representation we want independently of the data distributions? How can we justify the use of either (besi...
I am trying to understand Gaussian process. and I am stucked now. This above notation is what data(n by 2) looks like in my head. And These are from this lecture by Marc Deisenroth https://www.youtube.com/watch?v=OdCXdUzLfao&t=2753s I was trying to implementing Exponentiated qurdratic function from the scratch. I am...
By running an experiment, I get a set of positive real numbers, from which I can draw a histogram or any other density estimate. I can repeat this experiment multiple times; I expect different yet similar sets due to stochastic variations in the data generation process. By stacking together several sets, I can remove m...
I have not found an answer to this specific question elsewhere. I have a simple model with a single factor of three levels. I am running this model over about 1800 different sets. I am interested in looking at two specific contrasts across all of the sets. Would I (A) correct for multiple comparisons at both the contra...
Let's say I am building and training a model based on Graph Neural Net to detect bot accounts in the Social Network Graph. I have a graph dataset that I will be using to train, validate and test the model. In that graph dataset, the nodes are the users and these nodes are connected to other users by certain relationshi...
I have for example 500 engines and for each engine I have 100 features and each feature is measured 1000 times. It means the data table is: 500,000 rows and 100 columns. (for each engine I have only a number, no more metadata) I want to use autoencoder to detect anomaly. I do not know how to prepare my data for the aut...
Perhaps someone could help me with an issue. I have a new product that some users might be interested in, and would like to email them an offer seeing if they sign up for it. The problem is that some groups barely have any signups to the service (CR < 0.01%) and it is not realistic to run the test in a timeframe that w...
I'm in the process of building a statistical model for housing sale prices. I am drawing inferences and trying to predict the price of a home as if it was sold in the year 2021. I am using a 600k+ row dataset from cook county, IL. However, roughly 40k rows are usable, and the rest contain too many null values for them ...
Given $\theta_i$, $0 < \theta_i < 1$, a sequence of independent Bernoulli ($\theta_i$) random variables from i subpopulations, that are also independent across subpopulations. Suppose i=2 (2 distinct subpopulations in the population, $\pi_1$ and $\pi_2$ are subpopulation proportions with $\sum \pi_i = 1$), how do we go...
Suppose we have two random variables $X$ and $Y$ (for simplicity of exposition I will take these to be discrete). If we were to condition our entire analysis on the event $X=x$ and then ask for the entropy of $Y$ under this restriction on the sample space then the resulting entropy (which I'll call the "quasi-conditio...
I am working on a binary classification problem using random forests (75:25 class proportion).m label 0 is minority class. I am following the below approach a) execute RF with default hyperparameters b) execute RF with best hyperparameters (GridsearchCV with stratified K fold and scoring was F1) While with default hy...
In the book Time-series analysis by Hamilton we find the following passage: A time series is a collection of observations indexed by the date of each observation. Usually we have collected data beginning at some particular date ( say $t = 1$) and ending at another (say, $t = T$) in the following fashion: $(y_{1} ,y_{2}...
performed a classification task with XGBoost where I aim to predict cardiovascular disease (CVD) with a dataset of 12 vars and 70 0000 data points and got an f1 score of 0.73. After obtaining a feature plot the algorithm identified both weight and height as being important predictors for CVD. However, when I remove eit...
Brief: I am running Arima model of store data and trying to predict store growth . Inputs : 2018 - 2021 ( Monthly data) store data and forecasting 2022-2026 using one store variable only. Model : Arima ( (p,d,q) seasonal=(P,D,Q) m =12) Using grid search for multiple p,d,q and P,D,Q values running the different scenario...
Am working on a binary classification with imbalanced dataset of 75:25. Class 0 is only 25% (minority class). My objective is to predict the 0's as 0's correctly. Maximize recall value/f1-score for class 0. However, I realized that the scoring functions only focus on maximizing the metric for positive/majority class? I...
I am testing the association between two HRV parameters and memory cognitive test. I computed Pearson’s correlation using R and I just dont know how to interpret the differences at baseline and duringthe test.. I would really appreciate any help
I am studying MCMC and in the book I'm reading there is this example on Gibbs algorithm for inferring the posterior of a gaussian mixture. I understand how the algorithm works and the fact that its convenience relies in the simplicity of sampling from the full conditionals for the parameters, however I was wondering wh...
I'm stuck with this problem and was wondering if anyone could help explain why it is what it is. Currently I'm doing old exams and there is this question I just can't understand. The model is the one below and the true/false question I'm having trouble with is. "There is evidence for regional variation in wages" How am...
Scikit-learn function roc_auc_score can be used to get area under curve (AUC) of ROC curve. This score is generally used for numeric predictors' value in predicting outcomes. However, this function can also be used for categorical variables also. Following is an example (in Python language) where the variable sex is us...
Let us say I have a Stochastic Block Model i.e. a random vector $X^{(n)} = [x_1,...,x_n]$ where $P(x_i = c) = P_{c}$, where $c \in \{1,...,u\}$, and a random simple undirected graph represented by $Y^{(n)} = [y_{12},y_{13},...,y_{i<j},...y_{n-1,n}]$, where $y_{ij}\in \{\ 0,1\}$ and $P(y_{ij}=1) = W_{x_i,x_j}$ and $P(y_...
I am new in R and Timeseries analysis and forecasting. I have 2 questions. I am detecting three change points in my dataset. ts <- ts(y) bp <- breakpoints(ts~1) #three breakpoints are detected Can I somehow conclude that any of the breakpoints is not significant and will not change my forecasting? If no, how can I ...
I am trying to calculate and understand the following question: I have 10 groups of 10 people each and am choosing 10 people at random. What is the probability that all 10 people I have chosen are from one group? From 2 groups? Etc.
I've trained a logistic regression model on sklearn and then used it on some sample data which outputted accuracy, sensitivity and specificity values. Is there a way I can use the number of samples tested to estimate some form of confidence intervals for these metrics? i.e. how confident am I that the accuracy is the c...
I am training Autoencoder (1 hl) on keras. I have used validation split of 20%. Training seems ok, but for the validation set the MSE error(shown in blue) seems to saturate with whatever no. of hidden nodes. It does not goes further down. What could be possible reason? I've tried various LR with adam. At 0.001, there ...
What is the difference between get_fscore() and feature_importances? Both are explained as feature importance but the importance values are different. # model_smote = XGBClassifier() # model_smote.fit(X_train_smote, y_train_smote) model_smote = GridSearchCV( estimator = XGBClassifier(), param_grid=parameters, ...
In the following Bayesian network, the variables $ x_{i} $ are mutually independent (let's assume that these are the positions of $N$ boats). The variables $ y_{i,j} $ are distance measurements between two parent nodes $ x_{i}, x_{j} $ (with that said, some measurement $ y_{i,j} $ depends only on these two parents). I ...
I've been building an XGBoost Regressor model with some good success. Currently, the training accuracy is 68% and testing 66% - indicating some, but not too much, overfitting. However, I've noticed today a strange behaviour: Let's say the model had 2 independent features, I'll call them X and Z, and then it's trying to...
I'm having trouble understanding why the results of some of my computations are so low considering the data I have. An easy example: Lets assume we have a dataset of 1000 people. 600 of them have eaten something today, 400 have not. Of those 600 who have eaten today, 50 are dehydrated and 20 are malnourished. Of the 40...
Running some simulations in which I generated two correlated normal variables (rho=0.3), and then took samples of this population in which the extremes of the population where oversampled (specifically by splitting the X variable into 5 equal-interval groups and sampling an equal N from each group). The average correla...
I have a series of data sets that I've fit with non-linear models (same model with different parameters for each data set). I'm trying to model the residuals e so that we can simulate the results y. When I plot the residuals (predicted y_hat - observed y) vs the model predictions y it looks like there is constant vari...
For Kernel smoothers such as local polynomial regression smoothers (the Nadaraya-Watson smoother), we consider $y = m(x) + \epsilon$, for $m(x)$ some smooth function we are trying to estimate and $\epsilon$ a random error term with zero mean and constant variance. we perform a local weighted regression at $x$, with dat...
I am trying to run a penalized logistic regression in R. My response variables are proportions (they are winning percentages for a sports team), and I have the number of total games played by each team. My impression from the documentation is that I should be able to run glmnet to get penalized logistic regression for ...
Can a network with a single hidden layer of $N$ neurons (where $N\le\infty$) approximate any arbitrary function so that this network’s error approaches $0$ as $N$ approaches $\infty$?
I have been working on a dataset pertaining to 'churn analysis'. I have been trying to demonstrate whether the customers that are being charged more are also the ones that churn more or not. My dataset consists of as many as 21 variables and has more than 3.3K records. There are 4 columns that refer to the charges that...
I'm having a problem with metafor's rma-function, which inappropriately (I suppose!) gives both tauˆ2 and Iˆ2 zero values. This questions was previously asked on Stack Overflow, and then it was suggested using (the default) REML estimator of tauˆ2. However, despite using REML, I'm facing this issue. Here are the summar...
It is possible to use the Granger causality (GA) test to measure the strength of the causal relation between two time series? More specifically, if we have 3 time series A, B, and C and we have: p-value GA(A, B) = 0.04 p-value GA(A, C) = 0.02 Can we conclude that the causal relation between A and C is twice stronger ...
I'm currently trying to learn how to calculate the Horwitz - Thompson estimator for population variances. Using this formula $$ \hat{V}ar(\hat{\tau}_\pi)=\sum\limits_{i=1}^v \left( \dfrac{1-\pi_i}{\pi^2_i} \right) y^2_i + \sum\limits_{i=1}^v \sum\limits_{j\neq i} \left( \dfrac{\pi_{ij}-\pi_i \pi_j}{\pi_i \pi_j}\right)\...
I am doing a regression in r right now and my issue is that after I tested the regression with gvlma all the assumptions tested were not satisfied: Value Value Decision Global Stat 6.841e+06 0.000e+00 Assumption NOT satisfied Skewness 8.514e+04 0.000e+00 Assumption NOT satisfied Kurtosis 6.755e+06 0.000e+0...
Starting with a sample series $x_1, ..., x_n$, I generate overlapping sums $y_i = \sum(x_i,...,x_{i+9})$. If $X$ ~ Normal then it appears that $Var(Y) \approx 10 \times Var(X)$. But for samples from an unknown stochastic process $X$ I am discovering that $Var(Y) > 10 \times Var(X)$. What does this tell us about $X$? ...
I was reading this article. The authors used mixed effects logistic regression and presented their results as adjusted risk difference. I noticed that some of the confidence interval were negative, I was wondering if it is because risk difference is not ratio like OR. If that is the case, does that mean it fails to rea...
How are the region proposals processed in Fast R-CNN during training and testing? From my understanding, during training we sample some small number (e.g. 64) of region proposals out of the ~2000 region proposals, from N randomly selected images (e.g. N = 2, giving us a mini-batch of 128 region proposals). On the other...
I am a polymer chemist foraying into the realm of statistical sampling of phase space. I apologize in advance if this is too basic a question. I am following this resource to learn about biased sampling: http://www.maths.qmul.ac.uk/~tp/papers/pub084pre.pdf. The reason we perform biased sampling is to observe rare event...
I have multiple 3d models in ply format. These models are archeological imprints. And I have to make a model to classify the dataset according to their imprint type. I have 4 different classes. I use this code to parse the data. This code samples the dataset and extract the labels in a separate list. def parse_dataset(...