instruction
stringlengths
9
38.7k
While reading about reinforcement learning, I saw that this is a prediction method, somewhat similar to Monte Carlo. What is an example of it?
I'm a rookie in statistics, but just wrapped up a semester of R analysis for natural resources. I'm working on my grad capstone and hoping I might be able to get some help generating ideas for worthwhile analysis to answer the following questions: ****Changes in Run Timing**** I don't have any effect for this question,...
I am trying to cluster my dataset with 15 clusters. As the original labels and the output labels of the K-means algorithm may be different, I am wondering how to find the accuracy. I am using MATLAB kmeans inbuilt library function.
I wanted to know how much of machine learning requires optimization. From what I've heard statistics is an important mathematical topic for people working with machine learning. Similarly how important is it for someone working with machine learning to learn about convex or non-convex optimization?
I have data set of different school in a certain area to assess the cause of reason behind student's cause of failure in the English exam. Data set has several kind of variable like continuous, categorical, variable with percentage value 0 to 100 etc. DV : Percentage of student pass in the English exam (0 to 100) IV :...
I am building a simple recommender system using recsys libraries. http://ocelma.net/software/python-recsys/build/html/quickstart.html Rather than "ratings data" I simply have implicit feedback of sales (binary 0 or 1) for each items for each user. Is it as simple as interpreting my rating as "1" for items where a sale...
I am trying to recreate Figure 2.4 from Elements of Statistical Learning, which shows the training error rate, test error rate, and optimal Bayes error rate for binary classification using $k$-nearest neighbors for various values of $k$ in $[1,150]$. The problem is, my test error rates are way too low and are below the...
I'm interested in the distribution of the logit transform of a $Beta(\alpha, \beta)$ random variable; that is, the distribution of $X$ where $Y\sim Beta(\alpha, \beta)$ and $X = {\rm logit}(Y)$. I've derived the PDF of this distribution as $$p_X(x;\alpha,\beta) = \frac{1}{B(\alpha,\beta)} \left(\frac{1}{1 + e^{-x}}\ri...
I am doing a road segmentation task for high resolution images. I have three different data sets: Around 100 with extra high resolution with the ground truth. Around 500 images with slightly worse resolution and groundtruth we extracted ourself, making it a little bit worse as well. About 2000 images with very bad r...
Context of Problem I am trying to troubleshoot communication issues between process sensors of a large manufacturing company. I have been given 1-year worth of data for 1,000 distinct processes (observations), as well as signals coming out of sensors at each plant.The company uses 10,000 different sensors across differ...
The WIKIPEDIA Page on Bayes Factors, quickly mentions something that caught my attention. The exact quote from WIKIPEDIA is pasted below this post. Specifically, I'm wondering if there is any property attributed to bayes factors that has made the Wikipedia page to say that $Bayes~Factors$ are known to have lower Type I...
With the following box, you have to get from point 1 to point 2. You can move up, down, left or right. The borders and the X squares are objects that you are not allowed to get through. ------------- | | | | 2| ------------- | | X| | X| ------------- | 1| | | | ------------- Every time I move I get 80% chance ...
I'm doing scientific research on wastewater viral concentration methods. My goal is to determine the best method out of 3 methods used throughout literature and show that the results are statistically significant. Though I also want to compare these methods to no concentration, supernatant only and pellet only. So in t...
One approach to model comparison in a Bayesian framework uses a Bernoulli indicator variable to indicate which of two models is likely to be the "true model". When applying MCMC-based tools for fitting such a model, it is common to use pseudo-priors to improve mixing in the chains. See here for a very accessible trea...
This isn't completely clear to me. Say you have a massive passage that you want your LSTM to learn off of, how is it making sure it doesnt remove details from the first paragraph?
From Tensorflow docs, we can use transfer learning for object detection when you run from cloud. Also, can we using transfer-learning for running locally ? i see that we have a doc about running on local but i can not find any documents that write about transfer learning when run on local machine . I expected it in pip...
I have two groups, Group 1 and Group 2, where the distribution of var is quite different. However, Group 1 has much more people than Group 2, and the support of Group 2 is a subset of the support of Group 1. That is, for every person in Group 2 with a given value of var, I would expect there to be a person with ne...
In the NB classifier, we have instances with $n$ attributes ($x = (a_1,\dots, a_n)$) values in a finite set $V$ and we want to find the most probable classification (max a posteriori classification) \begin{align} v_{\text{MAP}} &= \text{argmax}_{v_j \in V} ~P(v_j|a_1,\dots,a_n)\\ & = \text{argmax}_{v_j \in V} P(a_1,\do...
I am struggling with some analysis I'm doing and would appreciate some insights: I'm measuring people's dependency on "Environmental attitude" (DV) on the number of hours of sports activities they are doing "out in nature" (IV 1) and inside a building (IV 2) [the data is from a survey N~500). When I run a linear regres...
I was going through a tutorial on coordinate descent algorithm available on https://en.wikipedia.org/wiki/Coordinate_descent. The tutorial begins with "Coordinate descent is a derivative-free optimization algorithm." However, in the pseudo code, there comes a derivative term in the weight update equation (see figure). ...
I am trying to find the relationship between price of an airplane ticket and multiple variables like (how early you can book the ticket, the season of flying, the day of week of flying, minimum stay, one-way or return). The Goal is to have an total average ticket price and the price effect of the variables. I have the...
I am using an ensemble of rf,knn,xgboost and logistic regression to predict final probabilities. I am taking weighted average of all the prob predicted by individual models. I would like to know wouldn't this cause overfitting and I wont be able to generalize this for some other test set? As I am taking average of prob...
This is one of the questions asked in the swirl package of R. One of my students however, has pointed out that the correct option of this question is the wrong answer. His assertion is that the correct probability is: 18/36 + 10/36 - 6/36 = 22/36 Instead of, 18/36 + 10/36 - 4/36 = 24/36 His point seems correct, since t...
This might seem like a trvial questions to some but sadly not me. My dataset has heteroscedasticity and therefore I use a heteroscedasticity consistent standard error estimator (I use the RLM macro by Andrew Hayes in SPSS) for my analysis. Now I also look at a subset of my data (59 datapoints, complet set 950 datapoint...
I have a dataset about the functionality of rural water supply points (boreholes etc) and I am undertaking a logit regression. My independent variables of interest are the type of water point (about 5 categories) and the year of construction (1950-2016, so I consider this as a continuous variable). The dependent variab...
So I am asked to fit a logit model using the method of least squares in connection to logistic regression. Let $\pi(x)=\mathrm{P}(Y=1|X=x)$ be the probability of success of a binary response variable $Y$ for a given $x$. Then it is established from the differential equation $d(\pi(x))=\beta\,\pi(x)(1-\pi(x))dx$ that th...
This is from Psychological Science 22(11), p.1363: If an analysis includes a covariate, authors must report the statistical results of the analysis without the covariate. Reporting covariate-free results makes transparent the extent to which a finding is reliant on the presence of a covariate, puts appropriate ...
I have seen a few useful examples on the SKlearn documentation page where in some situations, over-fitting can be handled to a reasonable extent by making sure that the splits leave each node with at least a certain number of samples/observations. I'm assuming other software packages, like R, have this feature too, I ...
There are a number of good Q/As about log-linear models (i.e., here). The data I am analyzing is off shifts between categories, 0, 1, 2, 3, 4, and 5, within students, in that Var1 represents a student's category at Time 1, and Var2 represents a student's category at Time 2. I'm trying to use a log-linear model to analy...
I have the following hierarchical model: $y_{i} = \alpha + \beta_{i}x_{i} + \varepsilon_{i} $ where $\varepsilon \sim N(0,\sigma^{2})$. $\beta_{i} \sim N(\gamma x_{i},\sigma^{2}x_{i}^{-2})$ Knowing this information I would like to understand why we can redifine the prior of $\beta_{i}$ as following: $\beta_{i} =...
Can I get any statistics or plots on numbers of users visiting a website before and after adding a pop-up or notification on their website which regularly asks users for filling some details in profile etc. just like on LinkedIn. Edit: I just want to know whether the number of users increase (due to reminding them ofte...
I followed Tensor flow for poets and classified images into 4 categories c1,c2,c3,c4. Now I have lot of images whose category is not known but I know for sure that those images falls into only one of the four categories. And also I know some images will no fall in to c3 and c4 for sure. ANyway can I use those clues an...
Is it possible for all the sample values to lie within 1 standard deviation of the sample mean? (Given that the distribution is normal) Would like to know the answer both in therms of Theory and Practically.
I am very new to the concept of regression. While going through an R output for a multiple regression I came across a set of estimates for the slope and got interested to solve for the same. for 2 independent variables the formula derived from the covariance matrix works fine but the trouble starts while solving it fo...
We calculate power in hypothesis testing as 1-beta (probability that null hypothesis is false given that alternative hypothesis is true). As this probability increases, power also increases. By similar relationship can't we say that power could also be calculated as equal to alpha( probability that null hypothesis is r...
I would like to check in Python if a time series is stationary. I have the following variables: a=np.array([1.003012239,0.995837317,0.991792465,0.993738715,1.000136408,1.004957838,0.995088793,1.000531886,1.00143537,1.003889035,1.004658898,1.003711617,0.994557676,0.991662887,0.992302628,0.992792462,0.994133425,0.997536...
I'm trying to predict an article's page views based on its content and a bunch of other factors. Everything except for the content is numeric (e.g. time of day, length of title, length of article). I was reading about one-hot encoding and it seems I can treat the textual content of the article as a "bag of words." Th...
I am using Poisson regression to relate road crash data to road geometric characteristics. Why should the variance equal the mean in Poisson regression? Thanks in advance
I have time series data that reflects users activity on some platform, and it has clear daily seasonal pattern. I understand that in order to fit a model such as ARMA to this data I should first detrend it and remove its seasonal component, which is commonly performed using differencing. This should leave me with a tim...
This is a matlab code that could generate a random walk in two dimensions of length 1000: xy = cumsum (-1+2*rand(1000,2),1). The 'stepsize' is between $[-1,1]$. In this case, we are talking about the set of real numbers from $-1$ and $1$. The rand function in this case generates numbers between $(0,1)$ over a uniform ...
Why are the "observed" numbers returned by tbats.components so different from the actual numbers? I'd think they should be the same. Data and R code follow: > library(forecast) > x [1] 0.0190 0.0139 0.0223 0.0134 0.0087 0.0090 0.0090 [8] 0.0180 0.0131 0.0179 0.0161 0.0175 0.0147 0.0260 [15] 0.0442 0.0248 0.0178 0.026...
Regression for Analysing Fourier Transform of a Complex Function I need to analyse a linear system which is y = FT{x}, where Input x and output y are both complex function (A*exp(jθ)). If I only have amplitude information of the input and output no phase information, and I can collect the input and output data (only am...
I am currently new to machine learning and I will be working on a project that involves using a Machine Learning library to detect and alert about possible anomalies. I will be using Apache Spark and I am currently trying to figure out which algorithm or algorithms are useful in solving time series anomalies. Basically...
I have total 300 categorical features and one response variable which is continuous. Its completely new to me. How can I select relevant categorical features for linear regression or multiple regression? What is the feature selection criteria and right algorithm for this type of problem? Insights are much appreciated.
How can i recover μ and σ for the lognormal distribution (income) knowing mean GDP per-capita (which should be my μ) and the Gini coefficient with data on 5 quintile income shares? Thanks to all. σ is a number. In the formula for σ = 2/ erf (g), erf is a function defined for values of x that I do not know.
I have 1.5 year of data. Each value represent 15 minute interval. I am trying to predict the values for the next day (next 96 values, because 96*15 minutes = 24 hours). Below is the original data plot and auto correlation plot. Currently I use linear regression with the following features: past data with different l...
In Cover & Thomas, Elements of Information Theory, at the section on Conditional Limit Theorem (11.6), it is proved that the KL divergence bounds the $\cal{L}_1$-norm from above, $\frac{1}{2\ln2}\|p_1-p_2\|_1^2\leq D[p_1||p_2]$ The presented proof for binary random variables is rather straightforward. However the proof...
If I run a mixed model including a level 2 predictor as a random slope, it is sometimes possible to get an estimation of the variance. For example: require(lmerTest) test = lmer(Sweetness ~ Income + (Income|Consumer) + (Income|product), data = carrots) summary(test) Here, I am including income, which has no variance w...
I understand the Bayesian regression approach, in which I compute the posterior distribution of the parameters $\theta_i$. Now I am interested in how to compute the credible intervals of the regression curve: $$y=x_0+\theta_1*x_1+..+\theta_n*x_n$$ In a frequentist setting, a prediction interval of a linear regression p...
I am trying to calculate the trajectory of a moving object (specifically, a thrown object) through a series of video frames. My tracking algorithm can reliably detect ~90% of the object occurrences throughout the video, giving an x, y, and radius size (in pixels) value. However, the tracking method is not resilient to ...
I am having a distribution of time delta between temporally successive events. I found that these observations are dependent on neighbours with small lag (ACF and PACF show high significance), hence I can not assume independence in my data. I further wish to test for the difference between two such distributions, which...
I am looking for a way to compare the first the k principal components belonging to two separate groups of two-dimensional data, in order to see how similar the two groups are. I do not know which method to use to do this properly. Googe showed me several, including Between-Group Comparison and Discriminant Analysis of...
How to calculate manually Studentized measure similar to "rstandard" with following actual and predicted values. actual = c(16,9,17,14,13,23,26,14,27,25) pred = c(15.0,6.1,17.2,11.3,8.8,22.6,24.6,10.7,25.6,25.2)
I am looking for the correct statistical method to answer the problem below. I have a method, but I am convinced there is a better way. The scenario: I have $N_x$ categorical independent variables. For each categorical variable $x$, there are $N_r$ repetitions, resulting in $N_r \times N_x$ continuous variables $y$. My...
Why in the boxplots long whiskers are associated with a heavy tailed distribution and short whiskers are associated with light tailed distributions populations?
Pretty much a complete newbie with PLS, Python, stats, (and stackexchange), sorry: When using sklearn for PLSRegression, why is the resulting scores matrix not given by the product of (scaled) input and the weights matrix? I.e. T = X0 * W Minimum working example showing this is given below. I have figured out in the m...
In practice, using a standard T-test to check the significance of a linear regression coefficient is common practice. The mechanics of the calculation make sense to me. Why is it that the T-distribution can be used to model the standard test statistic used in linear regression hypothesis testing? Standard test statisti...
Assume I have a data, say columns are the samples, and rows are the features, the problem is that around 85% of the samples come from an unknown distribution but the rest come from the same type of distribution but with a larger variance. Is there any method that I could recognize which samples (or columns) comes from ...
I would like to obtain an experimental design for a multinomial logit model. I have 4 factors of 4 levels. I will need 40 separate experiments. This means I cannot run an orthogonal design. I could obtain a d-optimal design, optimised for a linear regression. However, could I also obtain a d-optimal design, optimised f...
I am working on a multi-level model predicting whether a student is disciplined based on race, gender, and socio-economic status. I have a database of 41,102 students, of which 9,341 (approximately 23%) received discipline at least once during the school year. My variables are: discipline - factor, 1=received discipli...
I don't quite follow this diagram. I know that convolutions of trained masks(filters) create a 3D maps consisting of multiple 2D convolutions. Yet on this diagram each further, smaller map is created from 2D structure. Does it mean that there is some operation performed to flatten the 3D convlution map into 2D map bef...
The question I'm trying to answer is (fundamentally) this: I have a bag of coins that I suspect are weighted, some towards heads, some towards tails. I toss each coin 4 times and record the outcomes (e.g., 3H1T). As a group, do the coins tend to be unfair? I can't figure out what an appropriate test would be, though ...
I have a population of 320 marbles--they are all supposed to be white, but I can't be certain. If I set a "resolution threshold"--say 5%, then I am hypothesizing there may be up to 16 black marbles. Using hypergeometric distribution on a population of 320, with 16 hypothetical "successes" in the population, I can dra...
In this article in the section of "Logistic regression with multiple predictor variables and no interaction terms" is stated: This fitted model says that, holding math and reading at a fixed value, the odds of getting into an honors class for females (female = 1)over the odds of getting into an honors class for male...
I've come across some behavior in mclust::Mclust that I would not have expected, which is that the order of variables in the data passed to Mclust affects the solution it comes up with. In the example below, the first ordering of the variables produces 2 profiles, and the second produces 6. However, calling either of ...
I have a group of variables which are assumed to correlate with binary income(firm's default) in negative way(the bigger variable the less favourable firm's default to ocure). My task is to find a pairs of variables which descriminate income in the best way and somehow asses this ability. In case of looking for a good ...
Why isn't there an implementation of GBDT in Weka? (Java ML library) Instead the recommendation is to use the MultiBoost algorithm with J48 (Java implementation of Decision Trees - C4.5 algorithm). Refer - MultiBoost Do you know if MultiBoost is a superior version of GBDT or if there are more intricacies and differenc...
I have a set of healthcare data in which I used GLM Gamma to model the healthcare spending. Then I am trying to put together the results in a style that is similar to this: http://onlinelibrary.wiley.com/doi/10.1038/oby.2005.175/full My question is how should I aggregate back correctly after controlling for covariates ...
We have trained two different neural networks for MNIST dataset. Here are the losses and accuracies obtained by these networks for the training data: net0: loss: 20780.8291187 net1: loss: 209.928699374 net0: TRAIN ACCURACY 0.985890040888 net1: TRAIN ACCURACY 0.835298627336 The used loss function is the cross-e...
I'm trying to find an asymptotic approximation for the expectation of the maximum of $n$ Weibull random variables $X_i \sim Weibull(\lambda,\beta)$ when $\beta < 1/2$ and $n$ is large. From simulations, I'm getting that $$E[max(X_1,...,X_n) ] \approx A n^{c}$$ for some constant $A$ and constant $c < 1$, but I'm not ...
I need some kind of hypothesis test (or at least a reasonable rule of thumb) that will enable me to validate if observed minimum and/or maximum is "close enough" to the theoretical minimum/maximum. I have randomly generated values from some bounded, continuous probability distribution and I need to ensure that the pseu...
I have the feeling that when I have a large number of predictors, it will be better to use feature selection regression model such as lasso, to fit the model, and better not use the stepwise feature selection method to select important predictors. The stepwise feature selection methods are only useful when I have only ...
I was dealing with the lme4 package in R and was a bit confused with how to interpret the random effects in a following example: library(dplyr) library(ggplot2) library(tidyr) library(lmerTest) setwd("F:/5_1 Analize/Article_2 - LMM/") dat <- data.frame( ID = rep(1:20, each = 60), Task = rep(1:60, each = 20), Gro...
I have a fitted mixed-effects model with a continuous dependent variable and multiple predictors that each vary by multiple random factors. In R, a simplified version of the model has the following form: lmer(DV ~ A + B + (A + B | X)) A and B (both continuous predictors) are not permitted to interact with each other i...
Consider the following simulation experiment: In order to estimate the area ($\theta$) of a circle drawn somewhere on a square of known side=10, a collection of random vectors $(X_i,Y_i), i=1,...,10$ are generated. Each $X_i$ and $Y_i$ are iid $\text{Uniform}[0,10]$. From this, iid random variables $Z_i$ are obtained....
I have a data set where I am trying to predict the survival of groups of animals after a temperature treatment they were exposed to and including species and life stage (juvenile and adult) as predictors. An example of the data are as follows but is greatly abbreviated: Species Life Stage Treatment Alive Dead ...
Suppose we have that $X_1, \ldots, X_n \sim N(\mu, \sigma^2)$ where $\sigma^2$ is known. If we wanted to test the hypothesis of: $$ H_0: \mu = \mu_0 \ \ \text{and} \ \ H_1: \mu \neq \mu_0 $$ a lot of books just jump directly to using a z-score based test statistic of: $$ Z = \frac{\bar{X}-\mu}{\sigma/\sqrt{n}} \sim N(0...
I want to find sample from posterior distribution but it is complex, so i want to sample the posterior using MCMC. The posterior distribution contains integration (because the reliability function is not in closed form). My question is,How can i sample from this posterior. The full conditional posterior is not well kno...
In a hypothesis test, it seems that normally we first set the significance level $\alpha$ and then set the null hypothesis value, $H_0: \mu = \mu_0$, find the rejection region, then FINALLY introduce the observed data $X= x$, then see if the observed test statistic $T(x)$ falls into the rejection region. What is preve...
I am trying to maximize a function $f(x)$ of a vector of reals $x=<x_1, x_2, ...x_n>$. In my practical application, I have no expression for $f$ whatsoever, all I can do is given a vector $x$, calculate $f(x)$ via a deterministic experiment. So, instead of having to set a step size $\alpha$, calculate derivatives, etc,...
I am building a method to classify some data. There are 4 classes (A,B,D,F). I can achieve only 48% of correct classifications if I use bagged tree. I have tried many other classifiers(e.g. SVM, ensemble KNN, neural network, etc), but bagged tree is the best. For this classification, there is a fun point. 'A' needs to...
In the process of artificial data synthesis in Machine Learning applications, when we introduce noise to generate new data, is it possible that overfitting can occur because we are essentially creating variations of the same data example.
This is a newbie question. I want to know how to determine that one model is better than another. mydata <- read.csv("https://stats.idre.ucla.edu/stat/data/binary.csv") mydata$rank = factor(mydata$rank) logit.gre = glm(admit~gre, data=mydata) logit.gpa = glm(admit~gpa, data=mydata) logit.rank = glm(admit~rank, data=myd...
Can anyone please tell me How to normalize rating in a scale of 1 to 5? In Yahoo! Movies dataset user has given a rating to a movie on the scale of 1 to 13 and 0 means there is no rating to that movie. Please tell me how to normalize it.. original rating in scale of 1 to 13 the new rating that needed in the program is...
I am comparing the variability accounted for from two different studies. One gives me F(obs) and the two df's right off the bat so I can calculate that easily. The other, however, only gives me the M and s.d. of the treatments. Can I use those somehow to find the explained variability? It gives me no other statistics, ...
I have spent a lot of time on this without finding a good solution. I am running a regression with a variable of interest to me (X) and various covariates. Unfortunately, X appeared at first as non-significant. Therefore, I tried different functional forms in my regression (e.g. X², ln(X), exp(X)...) and finally foun...
In simple linear regression for the problem Y=aX+b; the "goodness" of the coefficient a can be estimated through a hypothesis test which computes the statistic, $t=\frac{a'-0}{SE(a')}$. Which of the following follows a t distribution: 1- Is it t? 2- Is it a? 3- Is it both? If one computed some other measure such as $t...
Question: How to best visualise two observables $(p, q)$ for each pair $(x, y)$ in a data matrix? My current ansatz is to plot $p\in[0,1]$ as the dot size and $q\in [0, 1]$ as the dot color (for $p$ close to one the circle starts to fill out the complete square): However, I am not completely happy because the contrast...
Consider repeated measures ANOVA (RM-ANOVA) with one within-subject factor A and several measurements per subject for each level of A. It is closely related to two-way ANOVA with two factors: A and subject. They use identical decomposition of the sum of squares into four parts: A, subject, A⋅subject, and residual. Howe...
I have labelled GPS location data (lat,lon) to determine whether a trip is of a certain type. The location data consists of start and end points in the format of lat,lon coordinates. A trip is labelled by bicycle or car, and this is what I'm trying to predict based on a person's previous location habits. For example, t...
I am struggling conceptually with how I can best model my panel dataset. I have a set of individual data and I need to: 1) estimate the median value of the dependent variable over time in the entire population; 2) compute individual-level forecasts of the dependent variable A quantile regression on macroeconomic data p...
Im a bit confused the approach to the following question. Can someone explain?: To estimate the proportion of danish companies with less than 10 employees determine the necessary sample size for the estimate to be accurate to within 0.06 with probability 0.90. Based on results from a previous study in 2013, we expect t...
Can someone give me more insight about the meaning of the fitted values in ARIMA model (i.e. $y_{ob,t}-\epsilon_{t}$? It seems to be not very useful for ARIMA, while checking the stationary assumption using the residual is more important. It also does not mean the expected value of $y_t$, since ARIMA assumes a constant...
With reference to Expected Prediction Error derivation - page 18, section 2.4 in Elements of Statistical Learning. Please refer text below: I have been able to follow up to step 2.11. I am struggling to understand step 2.12 and 2.13. My understanding: We intend to minimize EPE, as EX is constant, we focus on minimiz...
Consider a $d$-dimensional Gaussian random vector $\mathbf{Z}=[Z_i]_i$ with mean $\boldsymbol{\mu}$ and covariance matrix $\boldsymbol{\Sigma}$. What would be the more efficient method(s) to simulate $\mathbf{Z}$ conditional on the sum of squares of its components $Y := Z_1^2 + Z_2^2 + \dots + Z_d^2$? The independent c...
Using the PROC GENMOD of SAS, in "Criteria For Assessing Goodness Of Fit", I got : Deviance = 0.6841 Scaled Deviance = 1.1002 I know that a model with too large a deviance doesn’t fit the data well, but I dont know which deviance should I take Some help would be appreciated
I want to generate a synthetic time series. The time series needs to be a markov chain with a gamma marginal distribution and an AR(1) parameter of $\rho$. Can I do this by simply using a gamma distribution as the noise term in an AR(1) model, or do I need to use a more sophisticated approach?
I understand that generally the latent distribution $F$ and the distribution of the first and second order statistic of 2 independent draws from $F$ are related as follows: $$ F_{(1)}(x) = 1- (1-F(x))^2 = 2F(x) - F(x)^2$$ $$ F_{(2)}(x) = F(x)^2 $$ which I can rewrite to identify $F$ from the respective order statistic...
I have a question concerning the p-value and how you can say that this selection of features is better than that other one. To make things simple let's assume that I'm working on the spam classification problem. I've tested two different ways to do my feature engineering : OPTION 1 = bag of words Accuracy : 90% OPTI...
In my study, I have two groups and compared them in terms of blood stem cell levels, which was not distributed normally. For adjusting for age and gender when comparing groups, it is suggested to use regression or ANCOVA in this forum. But my statistician has done it by using binary logistic regression and given me the...