instruction
stringlengths
9
38.7k
For linear models (such as linear regression, logistic regression, etc), feature engineering is an important step to improve the performance of the models. My question is does it matter if we do any feature engineering while using random forest or gradient boosting? Granted that these models aren't deep learning model...
If a Fisherman catches his first fish of the day at 10am, when is he more likely to have started fishing given that in average he catches 1 fish/hour? In other words: Let's assume a Poisson process with given (known) lambda and starting at an unknown moment in time. Given that the first occurrence happened exactly at 1...
I am trying to create an anomaly detection code using features that sometimes have constant values and therefore do not fall in a normal distribution curve. For example, if I am looking at tcp traffic coming from a particular port . If my sample observed only collects tcp traffic for the same port , though the sample ...
In my econometrics course, we derived the value of the variance of $\hat \beta$ in an OLS regression. I am slightly confused by the motion, wouldn't $\hat \beta$ be a constant, and therefore $Var(\hat \beta) = 0$?
On pg. 159 of "An Introduction to Statistical Learning with Applications in R" by Hastie et al. [http://www-bcf.usc.edu/~gareth/ISL/ISLR%20Seventh%20Printing.pdf] they are talking about LDA vs. QDA classifiers and say: "If we added all possible quadratic terms and cross-products to LDA, the form of the model would be t...
On pg. 130 of "An Introduction to Statistical Learning with Applications in R" by Hastie et al. [http://www-bcf.usc.edu/~gareth/ISL] they are talking about using linear regression for predicting a binary response and say: "Curiously, it turns out that the classifications that we get if we use linear regression to predi...
Suppose we have an response variable $Y$ that is an ordinal random variable with $1 < 2 < \dots < N$ classes. From wikipedia, one way to specify an ordered logit model is via the following generative model for $Y$, by assuming $Y$ is categorically distributed such that the probability that $Y$, conditional on covariate...
I want to know is there any way in R/Python to specify to the model to emphasize its learning more on specific subset of data , while it considers the whole data. For example - i have sales behavior data from 2011 to 2016 and i am predicting likelihood to buy in 2017 - i want the model to emphasize more on 2015-2016 d...
I was reading the Rubin: Causal inference and Angrist, J.D. and Pischke: most harmless econometrics. Both of them are great textbooks. During my reading, I have the following question: what is the correct interpretation of the coefficient of a covariate variable (rather than the treatment variable) in a multiple linear...
I'm doing a predictive modeling for predicting anomalies in the sensors data. For this I'm using the twitter AnomalyDetection package in R. We are getting ton of data from sensors for every day. For every 5 sec we get a one data point from sensor. we are averaging this data over 2 min. We have a one sensor which sends ...
I'm newbie attempting the Zillow prize competition on Kaggle. I've read about the reason for using a relative error from Zillow's answer in their FAQ. (I don't think it's a Zillow-specific question but rather a general question in machine learning) Q: Why did Zillow pick the log error instead of an absolute error metr...
I have a matrix of users each with his/her page view counts over 50 pages. So, I have data points with 50 dimensions each. What I wanted to find was --> what combination of pages explains the user data the most? I did PCA and got that the first component explains 80% of the data's variance. But I can not figure out how...
A certain type of light bulb has an average lifetime of 10,000 hours. The SD of bulb lifetimes is 470 hours. What fraction of bulbs could last more than 10,705 hours? I think the correct answer should be 2/9. My reasoning: k = 705/470 = 3/2. So upper bound is 1 / (3/2) ^ 2 = 4/9. But then I divide it into 2 because it ...
We have developed, trained, and tuned a random forest algorithm for a certain task. We followed the classic split of training/test/validation and we are satisfied with the performance of the algorithm at the moment. My question is, for production/deployment, should we fit the algorithm on all the data (including the va...
I am beginning to learn how to use scikit-learn and I have a hard time choosing the right model. Here is my dataset: I have 100 persons. Each person was measured three times: baseline, first event and second event. Each measurement had 100 different markers per person that range from 0.1 to 1000. Additionally I have ou...
In the Bayes rule, it is said that the posterior $$ P(\theta|D) = \frac{P(D|\theta)P(\theta)}{P(D)} $$ is intractable, because $$ P(D) = \int P(D,\theta) d\theta $$ and the latter is often a high-dimensional integral. See Why is the posterior distribution in Bayesian Inference often intractable? But this is jus...
I would like to create a model which predicts the amount of energy used in an area, dependent on the number of properties in 5 categories (detached, semi, flats, bungalow and terrace). I have daily data, giving the total daily energy consumption, with the number of properties in each of the 5 categories. My question, w...
Let's take for simplicity an iid sample from a Gaussian random variable $Y \sim \mathcal{N}(\mu, \sigma^2)$. Let $y_0 \in \mathbb{R}$. The $(1-\alpha, p)$-bound of the lower one-sided (i.e. right-sided) tolerance interval is a $(1-\alpha)$-lower confidence bound of the quantile $q_p$ of the normal distribution $\mathca...
I noticed when calculating the variance of the slope and intercept estimators in simple linear regression that the final formulae do not contain any $y_i$'s. While I understand the calculation, I was wondering if there is a simple intuitive argument for this. I assume that the errors being i.i.d. with a fixed variance ...
I'm experimenting with Keras (Tensorflow backend) and Variational Autoencoder. My loss function is the classical one, i.e, the sum of reconstruction error and KL divergence. When I provide my model with validation data, Tensorboard shows a 'validation_loss', computed on validation data. I'm wondering what the correct ...
If I have a random forest of old independent data with an AUC of .66, a random forest of new independent data with an AUC of .75, and a random forest of old and new independent data with an AUC of .79, what can I inference by the AUC of the old+new independent data, given the AUCs previously mention. EDIT: These are al...
I can readily define asymptotic optimality but I find the notion of Bayes optimality harder to pin down. What is a correct and general mathematical definition of Bayes Optimality? Note: The notion of asymptotic optimality I have in mind is that in the limit of an infinite amount of data the statistical system converges...
My professor wrote some things very quickly on the board and I had a very hard time interpreting what arguments are being made. I am trying to test the conclusion. I read this post but I'm still not quite grasping it. If I could be pointed in the right direction with some solid guidance, that'd be really helpful. Mainl...
As the question title implies, I am dealing with unbalanced data (minority class 2%) classification. As a classification tool I chose Random Forest from R package "RandomForest". So, I chose two ways to tackle the unbalance of my data. First, I tried oversampling minority class ("1"). Second, I tried to use the data as...
I am wanting to determine whether components of Friendship Quality (measured by a scale) are related to a reduction in fear (multiple DVs). By components I mean that the Friendship scale I'm using is made up of 6 subscales. I have already conducted a 2 x 2 multivariate analysis of covariance as I wanted to see whether ...
I'm a little confused about the GMM. I need to make clusterization. Actually, I have four dimensions : speed in Km/H, mileAge in Km, acceleration in m/s^2 and braking in m/s(^2). Each of those dimensions appears to be a gaussian. But, for each of this distribution, there is only one gaussian (this is not a mixture of g...
Suppose I have n data points lying in $\mathbf{R}^3$. Then, after defining my Gaussian diffusion kernel $k(x,y)$ and computing matrix $K$, I obtain $P$, whose entries $P_{ij}=p(x_i,y_i)$ is the transition probability of jumping from point i to point j in a random walk process. Now, $P\in \mathbf{R}^{n\times n}$, thus i...
I am trying to determine whether the concentration of some compound in the blood can help predict the life expectancy of cancer patients. Compound concentration were assessed as the patients entered the study and one knows how long the each patient survived. The data is right-censored as some patients did not die by th...
I understand that in correlational studies it is fine to conclude that M mediates the association between X and Y even if the total effect (c) is not significant (Hayes, 2013) Does the same logic appliy when it comes to experimental designs? My experimental manipulation had significant effects on M, but not on Y. When...
I'm trying to simulate data from a spatially lagged autoregressive model of the form y = ρWy + ϵ, where ρ is a spatial correlation parameter and W is a matrix of spatial weights based on an exponential decay function exp(-k * distance). The parameter k describes how rapidly the spatial weighting declines with distance ...
I am beginning to learn how to use scikit-learn and I have a hard time choosing the right model. Here is my dataset: I have 100 persons. Each person was measured three times: baseline, first event and second event. Each measurement had 100 different markers per person that range from 0.1 to 1000. Additionally I have o...
I'm asking this out of curiosity. In the past I have thought of an heuristic as a "quick and dirty" rule not based on data analysis, as opposed to a solution which uses machine learning or statistical models. For example imagine I have the following classification problem: are products listed in different e-commerce we...
Our research plans to use one-way ANOVA, but upon encountering the assumptions of it, we had to conduct the test for normality and homoscedasticity. We're going to compare 3 populations(Grade 10,11,12 students) with 2 dependent variables(parental perfectionism, career indecision) to be done separately. I have decided u...
I have 10 separate time series with one response variable (#users) and 4 predictor (dummy) variables (discount, feature_update, non_feature_update, bugfix). One exemplary time series looks like this: date;max_players;discount;feature_update;non_feature_update;bugfix 2016-08-25;550787;0;0;0;0 2016-08-26;544806;...
I was reading this blog post: https://htmlpreview.github.io/?https://raw.githubusercontent.com/avehtari/BDA_R_demos/master/demos_rstan/sleep.html the author describes a model to predict how many hours a day time a mammal sleeps, given its brain mass. Of course, since you cannot sleep more than 24 hrs/day, the author do...
I have a mixed dataset containing 3 ordinal and 6 numeric type variables. The numeric variables are clearly correlated and the ordinal variables also have some sort of correlation between them. My objective is to project the dataset onto uncorrelated low dimensional space(dimension < 9) to use them for regression etc. ...
I'm working with temporal simulations (forward in time) and I would like to find the best way to detect the two major change points in this time series. I have several replicates of the same simulation, then my idea was to collect the two change points identified for each replicate and average 1) the first change point...
I have read numerous questions/answers on this site and others debating the use of PCA and other dimensionality reduction techniques on mixed data (containing both continuous and categorical variables). I have seen no reference to the idea of idea performing PCA on only the continuous variables and holding out the cate...
I have a 2 x 2 experimental design and have bootstrapped the distribution of a particular statistic for each cell. Is it possible to perform something akin to an ANOVA on these bootstrapped data such that I can characterize the main effect of each factor and their interaction? My intuition is that simply entering these...
I need to do a sample size calculation for a 3 arm study. Something like mentioned HIER! The endpoint is a severity score. The score can take integer values from 0 to 100 points. (i would consider this "continuous"?) The three arms are Gold-standard, New Drug and Placebo. Are there any implementations of the in the pap...
I would like to develop a model on human attitude about the conflict and I have few categorical parameters such as sites, occupations, age etc. I already used the chi-square test for identifying the significant difference between the sites.
Consider a classification task wherein the training data has around 100,000 sentences with around 1000 labels. These 100,000 sentences can possibly be grouped hierarchically. The task at hand is given a random input string, find out the most similar of the 100,000 sentences and assign the corresponding label to the ran...
Let's say I have three groups of values where each group has the same number of values. However, it is unknown how many values there are per group (the values are not available anymore). For each group I do have available the mean and the variance. How can I calculate the mean and the variance from the total population...
I just read these notes from a Standford course. It says "you would see that this classifier [Nearest Neighbor] only achieves 38.6% on CIFAR-10" I did my own implementation, but I only got 24.9% accuracy with L1 and 25.3% accuracy with L2 in the test set. This is the code: class NearestNeighbor(object): def __ini...
Let $X\sim N_p(\mu,\Sigma)$. Suppose that we desire to test $H_0:\mu=\mu_0$ vs $H_1:\mu\neq \mu_0$ with $\Sigma$ known and unknown where $\mu_0=(\mu_{01},\dots,\mu_{0p})$. Verify that under $H_0$ $$Q=n(\bar{X}-\mu_0)'\Sigma^{-1}(\bar{X}-\mu_0)\sim \chi_p^2$$ $$F=\frac{n-p}{(n-1)p}T\sim F_{(p,n-p)}$$ where $T...
(Edited to replace tenth of a degree temperature with stock index). I'm not sure if this is the best StackExchange site to post this question, but here goes... I want to do a shortest straw type of lottery over email with a small group of people. My idea is make them guess the last digit of a stock market index at clos...
Suppose I have the following white blood cell counts: WBC <- c(5.2, 39.0, 2.7, 12.6, 8.9, 63.0, 2.7, 12.0, 37.1, 2.5, 54.8, 8.8, 210.0, 13.7, 3.0, 475.0, 9.6, 130.0, 13.4, 3.1, 33.4, 1.9, 35.0, 38.7, 156.0, 103.0, 1.1, 30.0, 24.4, 58.8, 207.0, 4.1, 6.7, 188.0, 61.0, 175.0, 2.9, 342.0, 8.0, 144.0, 13.7, 59.8, 57.0, 0.8,...
I am trying to design a neural network for time series forecasting using LSTM neurons. I am stuck because the many different configurations that I tried so far are not performing well (actually they perform really really bad). So I am starting to think that I'm missing something :). This is the time series that I am us...
Say $P$ and $Q$ are two probabilities distributions on $[n]$. I can upper bound the difference of the probability of an event $A$ under $P$ and $Q$ by the total variation distance between $P$ and $Q$. $$\forall A, |P(A) - Q(A)| < ||P - Q||_{TV}$$ and this TV can be expressed nicely in other ways, and further upper boun...
I have a time series with daily frequency that has a seasonal pattern, with higher values in the summer and lower values in the winter. To create a sample of the data for estimating the mean, median and standard deviation, I'm calculating the sample size using $n = 4\sigma^2/M^2$ with for $M=\sigma^2/10$. I estimated...
I have checked several offline and online resources, and they are conflictive. Some define the sample variance as $$s_n^2 = \frac{\sum_{i}^{n}(x_i-\overline{x})^2}{n}$$ That is just the second central moment of the sample. Others claim this is a biased estimator and propose to replace the above expression by $$s_{n-1}^...
Suppose we have iid $X_1,\cdots, X_n\sim N(\mu,\sigma^2)$ where $\mu$ is unknown. Let $X_{(1)}, X_{(2)},\cdots,X_{(n)}$be the order statistics. Is the order statistics $\textbf{complete sufficient}$ when $A)$ $\sigma$ is known ? $B)$ $\sigma$ is unknown ?
I have a questionnaire data that consist of composite Likert scale and discrete Likert items. Likert scales or variables are the sum of few Likert items while the one-item variables are represented by one Likert questions. Could I run normal distribution tests on both composite and individual Likert variables in order ...
I am interested in fitting a dynamic panel model in the form of a random effects logistic regression logit P(s(t,i) = 1) for time t and subject i. The regression equation for this logistic equation is to include lagged values: so it would be P(s(t,i) = 1) = BX + u(i) + s(t-1,i). U(i) are the patient level random eff...
This is from Hollander's nonparametric inference, chapter 2: A multiple-choice quiz contains ten questions. For each question there are one correct answer and four incorrect answers. A student gets three correct answers on the quiz. Test the hypothesis that the student is guessing. What is bugging me in this exercise...
Questions: Is the AUC (area under the ROC curve) a type of "empirical Bayes estimator"? If we take the parameter space to be $\Theta = [0,1]$ and the prior $\Lambda$ to be Lebesgue measure, then the Bayes estimator just gives the estimator whose risk function's curve has the smallest area. So if there is anyway to id...
Let's say we have a card game, like poker. Inputs are board cards and an array of cards strength(that is calculated based on the board cards and game rules). For example for 3 ranks(A, K, Q) /2 suits(h,s) simplified poker(Leduc) with Qs on board as input we will have a strength array [2, 2, 1, 1, -1, 3] indexes are [As...
Background: When introducing exponential families in class today, my professor said that the cumulant generating function in the definition is essentially a normalizing constant, or a renormalization term after applying an exponential tilt. This sounded to me a lot like the partition function from statistical mechanics...
For the sake of example, suppose we have a list of advertisements $\{A_i\}_{i=1}^n$, each of which have parameters $I_i$: the number of impressions, and $C_i$ the number of clicks. Then $C_i/I_i$ denotes the click-thru rate of advertisement $i$. I'm writing an MAB Thompson sampler, whose job is to sample from advertis...
I have read every explanation out there on this but nobody seems capable of explaining this in a way that I am able to understand. For an SVM RBF Kernel we often say that: But what does x and x' represent here? Let's say my input data x is of shape 5x100 (5 features aka dimensions aka columns) and 100 rows, and output...
Context I have a randomized controlled trial where units $i \in N$ have one of two possible values (A or B) on variable x such that $x_i \in \{A,B\}$. Assume equal numbers of observations for all values of x: $n_A = n_B = N / 2$. Units are assigned at random to one of two "informational" conditions: Control: no inform...
In Goodfellow et al.'s Deep Learning, the authors write on page 222: "... the model family being trained either (1) excluded the true data-generating process - corresponding to underfitting and inducing bias, or (2) matched the true data-generating process, or (3) included the generating process but also many ot...
I'm running a series of negative binomial regressions, each with 5 predictors, and I am concerned that one of my models only has 161 cases. Are there any citations or guidelines on sample size for these types of models? I could do some power analyses but with my dependent variable being limited, I am concerned this won...
I am familiar with basic techniques for binary and multi-class classifications (logistic, LDA, RF, XGboost). But are there techniques for handling classifications where each observation can belong to multiple classes? Currently, I'm thinking that one possibility would be to transpose the dataset such that the multiple ...
I used - library(e1071) which was able to predict all(10) of my classes in a single run. Now, why do people go for one Vs one and one Vs many approach? What is the benefit of those approaches? Is it only library(e1071) that can do multi-class classification ? Would the output or accuracy changes if the algorithm takes ...
For a time series consisting of a sequence of observations $x_1, x_2, \dots, x_n$, the moving block bootstrap (See here and wikipedia) is implemented thus (emphasis mine): Pick a block length $k$. Create $n - k + 1$ overlapping blocks of length $k$, so that the first block $x_1^k$ consists of the subsequence $(x_1, \d...
I have read in literature several times a distinction being made between Bernoulli assignments and completely randomized assignments in assigning treatment (1) vs control (0) to units in a study. I was wondering if anyone could point me in a direction to distinguish between the two. What is the difference between the t...
I am able to answer a poisson question where say: expected value = 2 per week, whats the probability greater than 7 in 3 weeks. But how would I answer a question where, for example expected value = 2 per week, whats the probability it will take less than 5 weeks to have more than 13. Would I need to calculate the p...
I want to verify that the phenomenon I am observing is generated by a Binomial distribution with $p \approx 0.5$. The normal Binomial test verifies the opposite: a small p-value gives me confidence that the parameter p is NOT 0.5. I thought I could verify that $0.5-\delta < p < 0.5+\delta$ using the trick of the "two o...
I am clustering a mixed geological data set containing numeric (pump pressure, bit speed, mud temperature), nominal (presence or absence of a specific stones), and ordinal data (relative concentration of minerals with 0-absent, to 4-very abundant). My candidates algorithms are Ward, DBSCAN and BIRCH. I am looking for a...
Learning SOM recent days, but getting curious how does the explained variance of SOM is calculated. All the articles I have seen ignore this topic. Can anyone give some ideas?
I have 44 years of data for 4 variables: Y, X1, X2, X3. All 4 variables are non-stationary. I plan to run this model: Y= X1 + X2 + X3 + e. I wonder what should I do next, steps by steps, to fit my model? 1.Should I first use log and/or difference on all the 4 variables to make them become stationary, and then run the m...
I'm doing a contrast anova on a dataset, and I'm just not sure what to do to get the lsmeans estimates relating to one particular contrast (c1). Here is my code: bats$Site <- as.factor(bats$Site) str(bats) bats$logActivity <- log10(bats$AllBatsAct+1) c1 <- c(0.5,0.5,0,-0.5,-0.5) #AB vs DE c2 <- c(0.5, -0.5, 0, 0...
In Sutton and Barto's book, the REINFORCE algorithm derived from the policy gradient theorem is shown to be: $\theta_{t+1} = \theta_{t} + \alpha\gamma^{t}G_{t}\nabla_{\theta}\log\pi(A_t|S_t, \theta)$ I'm confused about the $\gamma^t$ term. My understanding is that it's there because in the previous step we're averaging...
I have this project proposal entitled "Android Based Program Recommendation App". (This application is for those college students who wants to shift to other programs). The app will find a program that take less time to finish based on the subjects that the student already took and passed. So if other programs has the ...
I was kindly wondering whether you could shed a light onto the following concerns. I have a data where there are 10-12 independent variable (Heavy metals) against 1 dependent variable (being hazardous or non-hazardous). The sample size would be up to 25-30 I would like to ask whether I could use logit model to analyse...
I call the function estimation based classifiers as deterministic, the ones which estimates the $f(x) = a'x+b$ directly, rather than estimating the conditional or joint probabilities directly. For example, SVM outputs a score which corresponds to $f(x) = a'x+b$ and the classification rule is $sign(f(x))$. Now, my ques...
I would like to know if I am choosing the right test. Goal: Does the typing speed (dependent variable) differ between two types of keyboards. Dependent Variable: Typing Speed. Independent variables: Keyboard: KB1, KB2 [Between factor variable] Keysize: Small, Large [within factor varabile] KeyShape: Square, Circle [wi...
I have N neural networks trained on different subsets of features of a dataset and with slightly different methods. My problem is a multiclass output, with the output layer comprising of the softmax output for each class. The outputs for each input on every network look like: array([ 0.05925509, 0.10252554, 0.72204...
I have performed a mixture design containing 3 terms and I have carried out 6 experiments needed to adjust a quadratic model. It fitted the data quite well: > Call: lm(formula = y ~ 1 + x1 + x2 + x3 + x1:x2 + x1:x3 + x2:x3, data > = input) > > Residuals: > Min 1Q Median 3Q Max > -3.8050 -0.7975 -0....
we're working on project where people try to find photos of themselves from large albums. Inorder to make their job easy, we used AWS Rekognition for facial recognition and automatically suggesting photos to the user. But most of our photos are candid and natural, like sports photos, graduations, parties, etc.. so the ...
I have a small sample from an unknown, possibly non-parametric population. I would like to create a new, different sample from the population based only on what I can extract from the small sample I have. Is there a way to do it, given that my sample is small? Specifically, can I resample from that sample using bootstr...
Most discrete count models (poisson, nbd and the likes) are only defined for non-negative counts. If I have negative counts — how should these models be used? Would it for instance be OK to just "shift" the distributions with a constant representing the minimum value and then back again for predictions? Are there any ...
So basically I have the following scenario: I have developed a new way for conditional independence testing, and am bench-marking is against other methods. To do this, I test the power in scenarios, where the null-hypothesis of conditional independence should be rejected (because it is false), however the tests are ver...
I need to analyse a data set for my bachelor thesis and I am a little bit lost. The time series consist of measurements which were taken every 5th minutes from November 2016 until July 2017. Firstly I need to eliminate the negative values from the time series which are produced through malfunction in the measurement eq...
$\newcommand{\R}{\mathbb{R}}$ In the context of the implementation of tree based models, suppose that a predictor space $X \in \R^n$ is under a partition process of the algorithm recursive binary splitting. So the recursive binary splitting compute a metric across those predictors, in the case of continuous variables u...
I am training a simple neural network in keras to fit my non-linear thermodynamic equation of state. I use backpropagation and stochastic gradient. The network approximates the equation of state but is far from being good. I added the code here: import numpy as np import CoolProp.CoolProp as CP import matplotlib.pypl...
The phyl.vcv function in 'phytools' R package computes a phylogenetic trait variance-covariance matrix between two variables. Can I use this matrix to compute a phylogenetic Pearson r value? If so, can this r-value be used in a t test (with n-2 df) to test the significance of the correlation?
I have some understanding of both models (concurrent neural network and directed probabilistic graphical model). Both of them can be used to model sequential data. But is there any connections between them?
I have 4-point ordinal data on users' opinions about various apps which they use, and I want to run significance tests on the ratings given to each app. None of the apps requires the others to be present, but people may use multiple apps, resulting in some potential overlap in the users of different apps. Are these dat...
Start by defining the Symmetric Random Walk: $$ M_t = \sum_{i=1}^{t}X_i, ~~ \text{with}~X_0=0 $$ where $X_i$ is equal to 1 or -1 with $p=(1-p)=0.5$. Consider $t > s$, the variance of its increments is: \begin{equation} \begin{split} VAR(M_t - M_s) & = VAR \Big( \sum_{i=s+1}^tX_i\Big)~\text{by indepence of} ~ X_i \\ &...
I have asked some participants (29) to complete several tasks, and I have the results for the people that successfully completed it, and those who didn't. I have a breakdown by age (4 groups) and I am trying to prove ($H_0$) that age is independent for the successful completion of the task. I am trying to understand wh...
I'm going thru the Cousera's DeepAI course (Week3 video 1 "Neural Networks Overview") and Andrew Ng is explaining how each layer in a neural network is just another logistic regression, but he doesn't explain how it makes thing more accurate. So in a 2 layer network, how does calculating logistic multiple times make ...
I want to apply ANCOVA on my data set. I have A continuous dependent A categorical factor with 4 levels A continuous covariate I want to apply ANCOVA on these variables in male and female population subsets. $$H_0: M_1=M_2=M_3=M_4$$ in men, $$H_0:M_1=M_2=M_3=M_4$$ in women (the average of the dependent variab...
I have a Dataframe and am trying to figure out what distribution my variables have so i can decide on a model (lm, glm, gam). How would I do this? Is there any help that R can give me on this? Simple plot() and looking at the data does not help. Thank you!
I have a question connected with confidence interval calculation. So, let's have a ARIMA(p, 1, q)-GARCH(P, Q) model with drift: $\phi(L) \omega(t) = \theta_{0} + \theta(L) \varepsilon(t)$, where $\omega(t) = \Delta x(t)$. In this case (and cases $d \geq 2$) I can get point forecast $\hat{x}_{l}(t)$ as $\hat{x}_{l}(t) ...
What is the difference between running N separate time series regressions relative to running a panel (POLS for example) with and without dummies for the N entities? It would be useful to get some intuition about the impact on the coefficients and standard errors.
After running the Johansen test for cointegration, 1 cointegrating vector was found. Let's say the following cointegrating equation was estimated (A was normalized) A B C 1.000000 -0.335218 -0.63412 A 1% increase in the A leads to a 1.34% increase in the B in the long run. Is this the corr...
This may be a silly question but I am not really a math/statistics person and we are working on this assignment at work. So my job is to figure out what is the trend of the data from the last 30 days. So basically I get around 30 values, each is an average value from one day. And using this data I draw a linear graph. ...
Categorical variables consist of variables with exclusive sets of categories .Quantitative variables consist of variables with a numerical value but aren't numbers exclusive sets too ? According to wikipedia https://en.wikipedia.org/wiki/Number A number is a mathematical object used to count, measure, and label. So ...