instruction
stringlengths
9
38.7k
I have two time series data, $y$ and $x$. Suppose I want to forecast $y(t+1)$ from previous values $y(t)$, $y(t-1)$, $x(t)$, $x(t-1)$. I want to use an elman RNN. From the examples given in the original article "finding structure in time", the number of neurons in hidden and context layer are the same. First question: ...
What is the loss function of the Gaussian maximum likelihood estimator in the classical linear regression model? I see a question asking this, but it seems that we never mention loss function when talking about MLE... Here is the question:
I'm reviewing for my final exam and this question was asked: (help with formatting please, I'm new) The logic all makes sense to me, but their conclusions in part e and f are either wrong or really confusing me. For example, in part e, given that the null hypothesis is a "less than or equal to" one, that means that t...
We did an intervention to reduce the frequency of use of a certain type of treatment and now I want to compare the data pre vs post intervention. For each month I have the number of treatments per 1000 patient visits (because the monthly number of visits fluctuates). I have 6 months of pre-intervention data and 6 mo...
Suppose a random sample of size $2$ is obtained from a distribution that has pdf $f(x) = 2(1-x), 0 < x < 1$ and zero elsewhere. We want to find the probability that one sample observation is at least twice as large as the other this question doesnt seem too complicated but I'm having a hard time setting double integr...
I have population, and I need to find a sample size using the equation MoE = 1.96*/sqrt(p(1-p)/n * (N-n)/(N-1)) I know all values except n (obviously) and p...I am supposedly able to get a value of p from this information Calculate the required sample size that would need to be distributed among survey interviewers i...
I'm having trouble reproducing the results of R's gbm() function (from the gbm package) on a minimal example. What am I doing wrong? library(gbm) # http://www.saedsayad.com/docs/gbm2.pdf train <- data.frame( X1 = factor(c("A", "A", "A", "B", "B")), X2 = factor(c("A", "A", "B", "B", "B")), Y = c(0, 1, 3, 4, 7) ...
A cook makes plum puddings for Christmas. He stirs 6 coins into the pudding mixture thoroughly before dividing it into three equal portions. What is the probability there are 2 coins in each pudding? The answer is 10/81, but I cannot work out how to arrive at this answer. What I worked out so far: A = pudding A has ...
I have the following problem: A truck transports oranges. Each orange has a mean weight of 85g and a sd of 9 g. If the truck transports 2000 oranges what is the probability that the total weight is greater than 175kg? Now suppose that there are 3400 oranges and the total weight is 255kg. What is the probability that th...
I'm trying to see whether the number of salesman per customer entering the store affect the sales amount using a simple OLS regression. Which one is a better model to test the hypothesis? Can you also tell me why? Model 1:sales= B1+ B2(salesman/customers entering the store). Model 2:sales=B1 + B2 *salesman + B3 * ente...
I was wondering if Ridge and LASSO shrinkage parameters (I am referring to the lambda in the canonical loss function) are functions of the number of features if one is targeting a "constant" shrinkage level? An example is: let's suppose I determine my optimal shrinkage parameter to be some number x for a set of 4 featu...
I am trying to understand the application of Chi-Squared test for independence between predictor and response variables as it applies to feature selection in machine learning and exploratory data analysis. I understand that there are few types of Chi-Squared test for independence. However, I do not understand what exa...
Let $\{X_1,\ldots,X_{n_1}\}$ and $\{Y_1,\ldots,Y_{n_2}\}$ be sequences of independent and identically distributed random variables, such that $EX_i = \mu_X$, $VX_i = \sigma^2<\infty$, $EY_j = \mu_Y$, $VY_i = \sigma^2$ and $X_i$ independent of $Y_j$. If one wants to test whether or not $\mu_X = \mu_Y$ then one of the ...
I'm currently running a Cox proportional hazards analysis on my data to look at outcomes for cancer survival. I'm looking at variables such as cancer type, martial status, gender etc. For some reason when I put in all of these variables together in the SPSS model, I get different hazard ratios than when I put them in s...
Despite the basic similarities like both of these model the probability of success rather than modelling the response variable directly; I believe that there are more reliable answers which point out the differences and similarities between these models. One difference being, in logistic one can use different type and...
It is a common way to use filter methods for feature selection, and then use other classifiers for prediction with reduce features. But is it also possible to use embedded or wrapper methods for feature selection, and using other classifiers for prediction? For example, feature importance ranking can be acquired by usi...
I have a logistic neural network with binary output. Of the 2 outcomes it attempts to predict, the first is very likely (occurring 90% of the time) such that my neural network will only ever predict this first outcome, albeit with a different level of certainty (about 86%-94%). However, the second outcome, when it does...
I built a binary classifier using logistic regression. But I can't seem to rationalize this in my mind. After cross validation, the model's AUC is 0.9003. But, as a sanity check, I ran a GOF (goodness of fit) test using Hosmer-Lemeshow test. What I found was that the model did not fit the data well at all!! (the p...
I have a 2 x 2 x 2 x 2 four-way ANOVA. IVs are A, B, C, D. The four-way interaction is not significant, and only one three-way interaction, A x B x C, is significant. In addition, 2 two-way interactions are significant: (1) B x D (2) A x D In sum, D doesn't participate in any significant three-way interactions, but it'...
I am reading 'Data Analysis for the Life Sciences' and came across a small section touching upon what I believe relates to distance correlation. I am new to this concept and would like some help understanding it. I don't know how the author arrived to the 3rd and 4th equation from the 2nd equation. I tried multiplying ...
Suppose we have 1) a stochastic Linear discrete-time Model given by: ${x_k} = A_{k-1}{x_{k - 1}} + {v_{k - 1}}$ , where ${v_{k - 1}} \sim N(0,\sigma _v^2)$ and $A$ is generally a known matrix. and 2) a stochastic nonlinear discrete-time Model given by: ${x_k} = f_{k-1}({x_{k - 1}}) + {v_{k - 1}}$ , where $f$ is a som...
I would like to compare the slopes of multiple logistic regressions, like an ANCOVA. Can a logistic regression even have a "slope" ? My regression lines themselves appear quite linear. My dependent variable is binary (active vs. not active), while the independent variable is continuous, and there are multiple (6) level...
https://stats.stackexchange.com/a/3374/92071 - In PCA, the components are actual orthogonal linear combinations that maximize the total variance. In FA, the factors are linear combinations that maximize the shared portion of the variance--underlying "latent constructs". Now, I understand that eigenvalues represent th...
I recently started reading about sufficient statistics. I have the following questions: 1) Is sample mean a sufficient statistic for Laplace Distribution (aka Double Exponential) if we already know the scale parameter? 2) If not, is this also related to the fact that it is not an efficient estimator of the mean/locatio...
I'm doing association analysis and I'm using a Chi-Squared test on a 2x2 contingency table. The usual definition of the Chi-Squared test is given e.g. here and here, the term in the denominator is usually the same as the term on the right side in the bracket in the numerator. So when it's used for analysing the strengt...
This might be a rather trivial question, but I cannot seem to figure out how to do this in R. I have estimated a linear model for my time series, and modeled the residuals of the model using an ARMA model (a MA of order 2), as follows: Time<-1:length(time_series) linear_model<-lm(time_series~Time) ma2_resid<-arima(li...
In glaucoma management, we study the trend of a global index variable representing the entire visual field of a glaucoma patient. This concern the Mean Defect of visual sentitivity (=MD), expressed in decibels plotted against time (years). This is calculated as a regression analysis of MD vs time. For practical purpos...
I have a data set of items, their attributes and prices. So all categorical except the price. I want to build a model that can tell me if an item, with the same exact attribute, is extremely expensive or not. The items vary in terms of size, location and material with affect the cost. So there are many items and many ...
I am a Danish medical doctor doing multiple regression on a clinical study, but I am running into some challenges as both independent and dependent variables have been log-transformed due to skewed distribution. It is not too hard to find information online when it comes to interpreting my log-transformed results in a...
I am using HMM to visualize drinking gestures of different container types. I began training HMM with one sequence corresponding to one container type, but I want to visualize it with python now with different container types. How can I map different sequences in one model? For the training data do I have to insert the...
Assuming English words are in Pareto (Zipf) distribution, when applying a log-linear model, should it still apply Gibbs measure of the maximum entropy condition, or one can change it to the Pareto version?
I am working on a classification problem with a highly imbalanced dataset. The ratio background to signal is about 20. I trained an xgboost model. The ROC curve looks perfect and ROC_auc is also almost perfect 0.99. But the BDT response or probability to be[ a signal for a signal (training and test sets) looks very in...
Consider the following Matlab code: close all; clear; clc; rng('shuffle'); nbrOfSamples = 100000; nbrOfsubsets = 10000; samplesPerSubset = floor(nbrOfSamples / nbrOfsubsets); mu = [2,3]; sigma = [1,1.5;1.5,3]; rawsamples = mvnrnd(mu,sigma,nbrOfSamples);...
Nature published this year the following paper: Evidence for a limit to human lifespan1, in which the authors argue their "results strongly suggest that the maximum lifespan of humans is fixed and subject to natural constraints." One of this paper's statistical analysis has been panned at some sites already, including ...
Let $X_1$ and $X_2$ be two independent exponential random variables with the PDFs $f_{X_1}(x_1)=\lambda_1 \exp(-\lambda_1 x_1)$ and $f_{X_2}(x_2)=\lambda_2 \exp(-\lambda_2 x_2)$. Let $X= \frac{X_1X_2}{X_1+X_2+a}$ be a r.v. for which I want to derive the CDF, where $a$ is a positive constant. In other words, I need to ...
I have several sets of ranking lists made by 14 judges. Each set represents a number of videos that have been ordered with respect to a particular characteristic. Moreover, the videos are the same for all ranking lists. To compare those rankings I calculated a correlation matrix for each set (containing the spearman co...
I'm working on paired data, of which absolute values plotted over time, show periodicity with varying peak heights as shown in the following graph: The data represent the absolute distance between two feet, so peaks are maximum steplengths. Both the blue and red line belong to the same participant that moves in differ...
I'm incorporating a Bayesian Model Averageing(BMA) approach in my research and strapped in trapped in the estimated of Pr(theta|D). Professor John K. Kruschke(2014)'s book in chapter 10 offers an example to compute model posterior probability using hierarchical MCMC, but I do not know how to set the index value of mode...
I'm doing my project about UFOs. I computed the correlation between population (X)~observation (Y) (UFO), and I got this graphic: Afterward, I ran the cor.test() function in R which told me: t = 12.92, df = 49, p-value < 2.2e-16, 95 percent confidence interval: 0.7966971 0.9295809, sample estimates: cor = 0.8792381 C...
I want to build a neural network over a data set. My idea is to use cross-validation on a training set to select the "best" neural network (and evaluate it on a separate test set) and to use nested cross-validation to make some statistical predictions. I'd use nested CV to plot bias and variance of my grid search's hyp...
I have data with a tail to the right (gamma/lognormal/weibull dist.) I use the package abodOutlier to which returns angle-based outlier factor for each observation. A small abof respect the others would indicate presence of an outlier. This is the distribution of the abof: ABOF Histogram Another plot of ABOF The range ...
I want to conduct a correlation analysis between two continuous variables. The first variable is age and second one is number of relapses. The age is non normally distributed, whereas the number of relapse is normally distributed. Should I conduct a non parametric correlation or parametric correlation?
I am having some confusion over how to carry out the stats for my experiment. In the experiment, there is two condition of teaching method "prof-generated" and "student-generated" and the DV is students' quiz scores over 4 quizzes. As I carried out the experiment in a real classroom setting under my prof's module, I c...
I am used to work with manageable number of features. I usually print some descriptive statistics and visualise the histograms of each feature using Python and Pandas or R. I check for outliers and if the data points follow normal distribution or need a transformation. Now I am dealing with around 200 features and it i...
We've got a sample $X_1,\dots,X_n$ from an unknown distribution $F$, and we want to estimate it. The problem is that it is discrete and with support $S=\{0,1/100,1/99,\dots,1/2,1\}$, and quite many of the possible values are not observed in the sample. In the continuous case I'd try kernel density estimation or a mixtu...
In this recent article (http://www.statsblogs.com/2016/12/19/low-correlation-of-predictions-and-outcomes-is-no-evidence-against-hot-hand/ ), the Hot Hand problem is discussed, referring to Josh Miller's lines: On correlations, you know, the original Gilovich, Vallone, and Tversky paper found that the Cornell players...
Let $\tilde{\theta}$ be a non-negative random variable drawn from a twice continuously differentiable CDF $F(\theta) := \Pr\{\tilde{\theta} \leq \theta\}$ over the support $[0, \overline{\theta}]$, with $F'(\theta) > 0$ for all $\theta \in (0,\overline{\theta})$. It further holds that $\mathbb{E}(\tilde{\theta}) = 1$ (...
In my kinetic theory research (physics), I encounter the modelling of the scattering kernel $B(X,X')$ via the relation $f(X)=\int B(X,X')f'(X')dX'$ where $X$ and $X'$ are random variables with distribution $f$ and $f'$. We can say that the above equation connects the distribution of input $X'$ and output $X$. I alread...
Say I have a regression model that looks as follows. The goal is to predict credit card balance given a number of independent variables. This is just the first pass at the model and no attempt as yet been made to optimize it. I'm curious when the best time is to do a multicollinearity test. Is it now before we go any ...
I am trying to model the selection of panel members from a bench of judges, where the number of choices is assumed to be fixed in advance. (In my application, it is common to pick five or seven judges from a bench of 12). I am using (time-varying and case-specific) variables measured on the different judges to explain...
When dealing with a large volume of data and wanting to fit this data to five different bins (the number of bins is fixed), how might one find a good fit for the different bins relative to the data? For instance, the data that I am currently using are classes with discrete frequencies. Like so: class1: 10 class2: 382 ...
I have a dataset consisting of two spatial point patterns. I would like to see if there is any correlation at all between the general patterns. I have tried the K Cross and Pairwise Correlation Function in R (with spatstat)- but to be honest I have little clue as to how to interpret these. Googling this subject does n...
I am currently trying to do an OLS regression using data of online product reviews and I have two questions: Do I have to use both, the linear and the quadratic effect in the model or is it also okay to only keep the squared variable in the model? I read that I have to use both, but I do not really understand why. So ...
Suppose you have something you can easily measure many times but without the amount of resolution you need for an experiment. For example, if a reaction raises the temperature of a solution by 5 degrees 60 percent of the time and 6 degrees 40 percent of the time, can the result be given as 5.6 degrees with a confidenc...
Suppose a receptionist, answering phones at a business, takes 3 minutes to help each caller. Thus, in each hour, there are 20 time windows in which a call could be answered. Calls arrive following a poisson process with an average rate of 5 calls per hour. If 5 calls arrive during a particular hour, what is the proba...
I know that a bayesian credible interval and a frequentist confidence interval measure very different things, and have different interpretations. However, is it ever appropriate to treat a bayesian credible interval as a frequentist confidence interval (for example, for the purposes of adjustments for multiple comparis...
Perhaps this may be a repeated question, but I have very little knowledge in this field (statistics). I have the following problem: I have two datasets that are composed of addresses. We merge these two datasets, into one, according to our own crazy algorithms; We have this final dataset, divided in three categories (...
I have a dataset 21 subjects and 2107 samples. Each subject has a different # of samples, so in order to balance the dataset I did a learning curve. And I found that with 36 samples for the training fold and 4 for the testingfold are enough (I used StratifiedShuffleSplit and my trainig set = 840 samples). So with the ...
I use oversampling on my imbalanced training set but the estimator from model fitting cannot work on test set, i.e. the estimator classify all test data point as the majority class. In this case, the oversampling lose functionality and what did it mean: the dataset cannot be use to predict the target classes and I shou...
Little background I'm working on the interpretation of regression analysis but I get really confused about the meaning of r, r squared and residual standard deviation. I know the definitions: Characterizations r measures the strength and direction of a linear relationship between two variables on a scatterplot R-squ...
I am wondering if a certain thing is possible. I think it might not, but some of my colleagues try to persuade me that it it indeed possible. So here is the problem: I have some survey data, where respondents respond to a 3 questions on a 0-5 scale, 5 being the highest value. Now I want to sum up the responses of all r...
I'm building a count model using a Poisson regression. When I run my regression model without an interaction term, both of my main study variables (X1 and X2) show a positive sign. However, when I add an interaction term for these two variables, both signs turn negative. Multicollinearity is not a problem in my model, ...
There have been probably hundreds of these posts, but I have yet to see any sort of answer to how to actually go about this. I need to fit a ARMA-GARCH model to my data because I cannot assume my data have a constant mean. I cannot use rugarch as most of the posts addressing this have used so I have to be able to do th...
Here's the situation: You are playing a game, in which the object of this game is to obtain the highest score possible. You have a list or array of values from 1 to 100 (we will visualize these as a deck of cards for simplicity) which has been randomized (shuffled). You are then asked to select a card from the top. Aft...
I'm running an experiment where I'm continuously sampling from a dial hooked into a physiological recorder as a hack because the dial won't interface with the equipment we're using any other way. By way of the connection, the terminal ends of the dial record at 100 and 21.07 with every value (to the hundredths) represe...
Im just starting using R and have been getting through a number of tutorials on Forecasting as need a forecast for next year. I have been using a seasonality of 7 & 365.25 in order to take account of seasonality. m_tbats = tbats(head(Desktop$Sessions,-1,seasonal.periods=c(7,365.25))) f_tbats = forecast(m_tbats, h=365)...
I'm using a Bradley-Terry model to rank items based on pairwise comparisons. The model estimates a score for each item $p_i = e^{\beta_i}$. I want to get an idea of the uncertainty of each items score. This paper suggests that I can compute the Fisher Information matrix, invert it to get an approximation to the covaria...
I have a dataset of about 7,900 rows, which includes 28 independent variables. This is a naturally occurring data that I am trying to explore which of these independent variables have significant effect on the dependent variable. I.e., I do not have any specific theory in mind that explains relationships that I can tes...
Problem: Given a sample $X_m$ from each of $M$ distributions $f_m$ which are all mixtures of the same $C$ unknown distributions $g_c$ but with differing mixture coefficients $\alpha_{mc}$, (when and) how can I determine the mixture coefficients and distributions? $X_m \sim \sum_{c=1}^C \alpha_{mc} \cdot g_c(x)\quad$ wh...
I have a time-series data set with ~20 observations with one variable of interest measured everyday for several months for each observation. If I plot the variable on a timeline for each observation separately, each observation will have its own unique pattern. My goal is to categorize these patterns into several group...
Usually I find that if I understand the etymology, I better understand the algorithm is doing/trying to convey. I've never found where the name for this transform comes from.
I have had a particular problem that I haven't been able to solve. Here is the scenario: I would like to perform a paired t-test of sorts on multiple groups. Instead of before and after conditions, there are multiple conditions (ex: treatment 1, treatment 2, treatment 3 etc). Each subject appears in each 'group'. I ha...
I'd like to get clusters with a maximum inner distance threshold between data points and center of cluster in Matlab programming. Consider that I have a set of data points. I am going to divide them into different clusters using clustering algorithm such as k mean. My goal is to make this clustering in a way that max d...
I am trying to come up with a probabilistic model that (1) learns a pairwise ranking function (2) and leverage multiple noisy pairwise constraints. My problem setup has two parts: (1) There are $N$ objects: $O_i, i=1,\ldots,N$. Each object $O_i$ has an associated observed real-valued vector $X_i \in \cal R^d$. The prim...
Let $T\in\mathbb{R}_+$ and $R\in\{0,1\}$ Then if $$P[T]=\sum_RP\big[T,R\big]=\sum_RP\big[T\!\mid{\!R}\big]P\big[R\big],$$ does it imply $T$ and $R$ dependent?
Suppose I have two random variables $X(\omega) \leq Y(\omega)$ for any $\omega$. Does it mean the probability distribution functions relation $F_x(x) \leq F_y(x)$ still the same for any $x$? Well, I found out it is not true, but I've failed to get a strict counterexample.
I have a continuous independent variable (MOCA scores), and a continuous dependent variable (Physical Fitness score). I would like to use a Spearman/Pearson linear correlations (continuous MOCA score vs. continuous fitness score) to determine the relationship. However, I also have transformed the continuous independen...
I used the tsoutliers package in R for outlier detection. Thereafter I used the following code to obtain a forecast: x <- ts(x, frequency=12, start=c(2006,1)) res <- tso(x, types=c("AO","LS","TC")) # define the variables containing the outliers for # the observations outside the sample npred <- 12 # number of perio...
Does the error term in the fixed model follow the assumptions of the OLS (normality, autocorrelation, homoscedasticity)? Say there are two countries 1 and 2 and I get the residuals for each country. What are the assumptions on the two error terms? Should the error term for each country follow the OLS assumption or th...
suppose I have a case study with 3 different populations, A, B and C. For all groups I have data on, e.g. body mass, length and sex of a given species. For group A I also have information on the year of birth, which I may be interested to include in the analysis as a random term to account for the cohort effect, while ...
Here's the scenario. When users add an item in an auction listing, they can opt for an "upgrade" where more people are likely to bid. How can I get how times more, that items in the auction listing with the "upgrade" get bids than those without? Here is the current data. This is an example only. There are more items w...
I'm trying to build an autoencoder in keras based on examples in this blog post but with different layers. The model compiles but throws an error (Theano) ValueError: Input dimension mis-match. (input[0].shape[2] = 1, input[6].shape[2] = 28) ... when I run .fit(). Model: BATCH_SIZE = 10 input_img = Input(shape=(1, 28, ...
Can anyone tell me why I get the same values at the end for this logistic regression for x1-x3 and x1-x14? There are more variables in there so the outcome should change at least a bit right? x <- model.matrix(y ~ .-1 + x1 + x2 + x3, data=FullData) y <- as.double(as.matrix(FullData[, 1])) # Fitting the model (Lasso: A...
I have estimated a VAR model and plotted the correlograms and cross-correlogram of the residual series. The correlograms look OK: there is only one small significant correlation in each of them, but they can be validated using the Box-Ljung test. However, in the cross-correlogram, there is a significant cross-correlati...
I used the sklearn.metric roc_auc_score,it gave me a value 0.91. What is the does this number mean? I am interested to learn how this is calculated,could someone please direct me to some information on this?
I would like to build a mixed model using the lme4 package in R. The study design is like this: We have measured the change in a variable over time in mice under different Diets. The mice under different diets are different, not the same. We would like to see which condition (Diet) causes a significant change in the va...
Consider two strictly positive random variables $A$ and $Z$. Let $E[ ]$ denote expectations and $cov(,)$ denote covariance. Suppose $Z$ has unit expectation: $E[Z]=1$. Suppose the following equalities all hold. $E[ A Z ] = E[ A ] + cov( A, Z ) = E[ ( 1/A ) ] + cov( 1/A, Z ) = E[ (1/A) Z ]$. When can we conclude that $A...
What i observe from the picture below that the data is bivariate normal distributed not exact and it has a negative association but i notice that there is a outlier which i marked with black circle. if i remove this i can get a better ellipse but on the other hand i don't want to remove it only for normality and i want...
I'm doing an analysis on how one variable affects another variable over time and I am not sure how I should test this. Our more exactly, I don't know which type of statistical test method I should use. The data looks like this SO... I want to test IF and HOW the variable "sweibr" is affecting...
For a 2-place real function $H$, H-volume of $[x_1,x_2]\times[y_1,y_2]$ is $H(x_2,y_2)-H(x_2,y_1)-H(x_1,y_2)+H(x_1,y_1)$. What is really the intuition of the H-volume?
I have a non-normalized variable and other normalized variables and I make a clustering with k medoids (or k means). If I let the first variable non-normalized, I get better results in terms of average silhouette coefficient. If I normalize it, I get worse results. I know that if the variable doesn't get normalized the...
I have observations with 6 individual-level characteristics from 2000 units in 56 groups (villages). I know that within groups, characteristics are strongly related as individuals influence each other. Does it still make sense to apply PCA to the 6 individual characteristics in order to single out the 2 most important ...
After reading this question and Jeremy Miles's answer I'm interested in the idea of using CFA to quantify inter-rater reliability. To make it more concrete, imagine a situation where I have one latent variable (LV) with three indicators (ind1, ind2, and ind3). If I have a pair of raters (a and b), who each rate subject...
What is the most general way to constrain a neural network to be commutative with respect to its inputs? The learned network function: f(.,.) Commutative: f(a,b) = f(b,a) "most general": can represent the widest class of commutative functions I'm not sure how to make that totally precise, but maybe something theoretica...
I'm fairly new to the subject of network theory and community detection, and I'm trying to apply to some data that I have. To start, my data essentially looks like this: Basically, what I have is a list of cities, people, and whether or not those people have been to each city. I have no data on how frequently a person...
Setup: Consider an Urn with $N$ balls, where $M\leq N$ are red and $N-M$ are black. Let $R_t$ and $B_t$ denote the event of drawing a red or black ball at time $t$, respectively. Further, let $p_t=P(B)$ and $q_t=1-p_t=P(R)$ such that $P(R_t+B_t)=p_t+q_t=1$ on each trial. We assume a frequentialist stance on probabilt...
For a coding course we're having an assignment which consists of predicting fire. The goal is, to predict the number of fires for an area, based on demographics. The data we have consists of: - Number of fires in area - Percentage of women in an area - Percentage of men in an area - Percentage of single households ...
If ANOVA tests the homogeneity of means then why the test statistics involves the standard deviation ... F=MSSE/MSST only involves variance ... is there anyone who knows the logic behind it?
I'm trying to create a reduced model to predict many dependent variables (DV) (~450) that are highly correlated. My independent variables (IV) are also numerous (~2000) and highly correlated. If I use the lasso to select a reduced model for each output individually, I am not guaranteed to get the same subset of indep...
When we use SVM to do classification, we usually will use this kind of code: [predict_label,accuracy,decision]=svmpredict(testlabel,testdata,model); We all know the classifier was using probability to make sure if the predict_label is positive or negative, which is according to thresholds. And with each threshold, we ...