instruction
stringlengths
9
38.7k
I have 20 observed factors and I want to check their validaty as a scale of 4 latent variables. For this purpose I should use the cfa function. Right? Then I want also to check a second order model. Its structure is as follows: these 20 observed factors load on these 4 latent variables which consist 2 larger latent var...
I'm just curious how I would use residual plots to check if the (G)ARCH model is adequate. After estimating the ARIMA, I found that there was still heteroskedasticity in the residuals, so I estimated a GARCH. The code is below: garch.spec = ugarchspec(variance.model = list(model = "sGARCH", garchOrder = c(5,5)), ...
I have a financial time series, x, it's length is n=8 observations only. Each observation corresponds to the quarterly costs (numerical value) of a firm. I need to predict future costs and find 95% confidence interval on the next quarter. x <- c(1122156.70, 777243.30, 741537.90, 1160976.40, 1316723.00, 781...
I was recently plunking down some population density figures into a spreadsheet for further study and simply using figures found on individual Wikipedia country pages. I wasn't really paying attention to them until I got to Equatorial Guinea, which didn't list a population density figure in its infobox. So, I thought...
I am trying to find the correlation between the two columns of numbers below: 2.000000000 2.333333333 2.333333333 2.000000000 2.666666667 2.000000000 1.333333333 2.000000000 2.333333333 2.333333333 The correlation value given is 0.00362318840579711. I am not really sure which correlation is used in order to get t...
Q: Suppose I'm modeling the transition of customers from one state to another. Is it better to model the time series of transition rates directly or implicitly as a time-varying parameter in a model of the levels of customers in each state? Does it matter? Definitions: Let $Y_t$ and $X_t$ represent the number of custom...
I am working on a research paper that is comparing the draft values between 3 main categorical players in baseball - infielders, outfielders, and pitchers, and 2 subcategories - being drafted out of college and high school. Sparing all details, the ind.. variables are WAR (wins above replacement) that compares all 3 ca...
Let $\{X_1,\ldots,X_n\}$ be a sequence of r.v. such that $X_i\sim N(0,\sigma^2)$. It is usually stated in Extreme Value Theory textbooks that (for suitably chosen $a_n$ and $b_n$) $$\mathbb{P}\left(\frac{1}{\sigma}\max X_i \leq a_n + b_ny\right)\rightarrow \exp(-e^{-x})$$ My question is if it is also true that $$\mathb...
I would like to see whether black and white participants are treated (0/1 treatment indicator) differently in my participant level data. However, black and white participants have different underlying characteristics that I capture in a vector of many indicator/binary variables I'll call $C$. Can I run a logistic model...
The picture below concerns Multidimensional Scaling (MDS), in which there are two terms " Matrix of distance "(δ) and "euclidean distance"(d). I don't understand the difference between them. Can you explain it?
By the bayes theorem is true the following statement? $P(S | X ,U) \propto P(X | S, U)P(S|U)$ Thanks
I am trying to compare two PDFs using Kullback-Leibler divergence but I am getting a value which means they are almost identical. Am I missing something? Here is my code. import numpy import scipy.stats as ss import matplotlib.pyplot as plt a = numpy.random.rand(1000) b = numpy.random.rand(650) ag = ss.gaussian_kde(a...
In the book Asymptotic theory of statistics and probability by Anirban DasGupta (2008, Springer Science & Business Media) in page 109 Example 8.13 I found the following approximation $$\Phi^{-1}\left(1-\frac{1}{n}\right)\approx \sqrt{2\log n}$$ and the authors said that it follows form $$1 - \Phi(x) \approx \frac{\phi(...
I am confused about the difference between the prior/posterior density and distribution. In my lecture notes the posterior density is: $$ f(\theta | x_1, \ldots, x_n) = \frac{f(\theta) L(\theta)}{\int f(s)L(s)ds}, $$ where $L$ is the likelihood function and the prior density is $f(\theta)$. But my notes also say that t...
I want to split the dataset into Train (60%) Validation (20%) Test (20%), but I'm not sure how to do it properly. Concretely, should I try to achieve that ratio for the whole dataset, or on the per class level? I expect that I should do that on the per class level, but that means that the rario won't be proper for the ...
I need to find a specific pattern in a continual time series and then to classify it into one of two groups good, or bad. So, the first step would be some kind of search in the time series, but that also comes to classification. My question is not related to the classification per se, but to 'preparation' to classify. ...
The other day I played a word game called bananagrams. Like scrabble it has tiles that represent letters of the alphabet. All letters are represented in the game though not equally. We played with a larger group than normal so I combined two sets. When the game was over I divided the sets but found that 1 letter could ...
On dumping the xgboost (with objective of multi:softprob) for binary classification, I see booster dumps as: class0_booster0, class1_booster0, class0_booster1, class1_booster1, etc. I have noted down all the leaf values for class 0. How do I, then, calculate the probability for class 0? (I've tried 1/1+exp(-S), where S...
I'm looking for an appropriate test to assess significance of (dis)similarity between binary vectors. Working example in R: denote the values of 10 features of 5 products by 0 (no feature present) or 1 (product has this feature) mtrx <- rbind(c(rep(1, 4), rep(0, 6)), c(0, rep(1, 4), rep(0, 5)), c(rep(0, 3)...
I am new to time series modeling and am trying to come up with a solution for a problem. My problem is about estimation of next value in a time series, which is made of four components. One is picked randomly from 3 different gamma distributions. One follows a uniform distribution and the other follows a Weibull distri...
I am a PhD student working on time series forecasting using neural networks and genetic algorithms. My question is: Is it necessary to analyze the residue, if I use the auto.arima function?
I have this dataset on burns. https://www.dropbox.com/s/vtnbz6dwk3arztx/finalthesis2.csv?dl=0. These are the relevant variables in my data: [1] "X" "serialnum" "ip_no" [4] "name" "age" "sex" [7] "address" "type_of_burns" ...
How to perform a ANOVA for statistical equivalence? I read about the two one-sided test (TOST) for equivalence, but (I think) for this study design it is not possible to perform a classical t-test, so a repeated measures ANOVA is needed. The study design is a common pre-post treatment-control design: there are two diff...
I am trying to understand the procedure of carrying out a Bayesian Repeated Measures ANOVA. In a conventional repeated measures ANOVA, I calculate the effect of a certain parameter (e.g., study condition) on a measured variable (e.g., test score). Then, I follow up my test with a post hoc test if the p value is lower t...
I am quite familiar with mixed effects (multilevel models) in meta analyses. Now, I want to do a mixed effects (multilevel) meta analysis structural equation model (MASEM) with STATA and the gsem package because my data format is long. My data look like: id studyId performance education moderator1 moderator2 1 1 ...
I noticed that in some (rare) situations, training subject/group/subpopulation specific models is preferred to one general predictive model for all data (probably due to accuracy?). For example, in the case of a medicine data, I saw that a predictive model is trained for each patient separately (instead of one model f...
I came across a presentation from a major university on R and Monte Carlo simulations. It mentioned that if you wanted to create ranges for numbers you are going to use in a Poisson distribution, you could use something like: lambda +/- 3 * sqrt(lambda) But it gave the caveat that this would only work for larger numbe...
I have started working on analyses of SNP's in the human genome, and I want to apply as many models as I can. But I don't know of any analogues to LASSO / ridge regression (or maybe even elastic net) with binary / trinary factors. P.S. About my model. Let $Y$ be dependent variable and $X_i$ - independent. Then $Y={0,1}...
I am looking for a way to compare coefficients obtained from quantile regression. The two surveyed models are nested, estimated on the same sample and for the same quantile. $$ Y = \beta_1X+\epsilon_2\\ Y = \beta_2X+\gamma Z + \epsilon_1 $$ Given the estimates and the respective standard errors I want to know if $\beta...
I am dealing with survey data from firms to conduct survival analysis. I am going to estimate with Kaplan - Meier and a Cox Regression. I face rigth censored data as usual but I have to deal with the different starting operation year of each firm. The survey covers 2006 - 2015. Some firms start operations on 2006 an...
I have a prior belief about my distribution; I started with $N(10,1)$. Later I received three groups of samples, $X_1$ which is $N(10,2)$, $X_2$ is $N(10.1,3)$ and $X_3, N(9.5,4)$. I also know that the probability of getting samples from the group $X_1$ is 0.7, $X_2$ is 0.2 and $X_3$ is 0.1. How can I join all the info...
I'm participating in an AI challenge and would like to use machine learning or genetic algorithms to optimize my strategy. The strategy is represented by a list of floats (size=7) which are weights for specific values. Now, in theory, I only need to find the best set of floats. Normally, evaluating fitness of an indivi...
This page shows how a learning rate of less than 1.0 can improve the performance of a Gradient Boosting Classifier, in sklearn. It shows that over many trees, a smaller learning rate plateaus at a lower value http://scikit-learn.org/stable/auto_examples/ensemble/plot_gradient_boosting_regularization.html#sphx-glr-aut...
I don't know how to interpret the svm summary outputs in R. I show you the reproducible code below. data <- read.csv(file.choose (), header = TRUE, sep=';') set.seed(1234) splitIndex <- createDataPartition( dati[,outcomeName], p = .75, list = FALSE, times = 1) ...
I have a large dataset (~1,700,000) which I would like to binary classify. I also have a not that small sample (~8,000) classified as one of those classes (let's say TRUE condition), but I have none (zero) of the other class (FALSE condition). All my variables are categorical. Am I abble to train the model with just th...
$\newcommand{\E}{\mathbb{E}}$How do I find the variance of an autoregressive AR(1) process $$y_t=\phi y_{t-1}+\varepsilon_{t}$$ where $\lvert {\phi}\rvert<1$ and knowing that $$y_t=\sum_{j=0}^\infty \varphi_j\varepsilon_{t-j}$$ $\E(\varepsilon_t)=0,\ \E(\varepsilon^2_t) = \sigma^2,\ \E(\varepsilon_t\varepsilon_s)=0$ fo...
What are some methods of solving a MLE parameter estimate where the likelihood function can't be written in closed form? I have a compound distribution that I don't have a closed form for (no conjugate priors here :( ). I guess it's almost like a hierarchical Bayesian model, but instead of providing a prior distributio...
Can anyone explain the following solution, $=\Bbb P\left(\displaystyle\frac{X-\mu}{\sigma} \ge \frac{-4-(-5)}{1}\right)$ $=\Bbb P(Z \ge 1)$ $=0.5 - \Bbb P(0<Z<1)$ $=0.5 - 0.3413$ $=0.1587$ Ans.
I have a number of studies examining the impact of corporate diversification ($D$) on firm value ($Q$) using standard regression models like: $$Q_{it} = \beta_1 + \beta_2D+\gamma X'+u_{it} \tag 1$$ The subscripts indicate the time ($t$) and the firm ($i$). $X'$ is a vector of control variables. I am interested in the ...
> anova(fit4,fit3) Analysis of Variance Table Model 1: Y ~ SNP7 + SNP8 + SNP14 Model 2: Y ~ SNP2 + SNP4 + SNP7 + SNP8 + SNP14 Res.Df RSS Df Sum of Sq F Pr(>F) 1 996 1048.5 2 994 1045.9 2 2.5346 1.2044 0.3003 I am not sure how to interpret Pr(>F) value. What is the null hy...
I need help with a derivation. In the paper "Additive Logistic Regression: A Statistical View of Boosting". The authors make a second order approximation about $f(x)=0$ to the following function $J(F(x)+cf(x)) = E[e^{-yF(x)-cf(x)}]$ (Note: $c$ and $x$ are both fixed) (see Result 1 on page 346: Additive Logistic Regr...
X ~ uniform(0,1) I need a deterministic function fn that gives: fn(c,X) ~ uniform(0,1) fn(X,c) ~ uniform(0,1) For any constant c ϵ (0,1)
I'm assuming a game of Russian Roulette where you have a gun with 1 bullet and six chambers, and two people playing. The rules are: You must shoot at least once on your turn. After shooting once, you can continue shooting as many times as you want until you decide to pass it to the other player. Whoever gets shot lose...
Let's say I have sampled all adult males (N=30) and females (N=25) in a group. There is a property (z) that emerges from pairing male A with female B. I run a Monte Carlo simulation of size 25 (every female is paired with one random male). For every iteration sampling 25 pairs, I calculate the average z [zmean = sum(z)...
So I have a question of utilizing quadratic (second order) predictors with GLMs in R. Basically I have three predictor variables $(x, y, z)$ and a response variable (let's call it ozone). $x$, $y$, and $z$ are not inherently quadratic predictors yet so I square them (X2 <- x^2, and likewise for y and z). Now I unders...
How can I model the following problem by a random walk: Consider that at time $t=0$ Mike has $M$ dollars. He receives a dollar at each of the times $R_1, R_1+ R_2, R_1+R_2+R_3,\cdots$, where $R_i$s are independent random variables according to probability density function (pdf) $p_1(x)$, and spends a dollar at time...
I am moderately familiar with frequentist hierarchical modeling, structural equation modeling, and hierarchical structural equation modeling. I am also moderately familiar with bayesian graphical networks, though less so. I also have an amateur level of experience/understanding with bayesian versions of standard glm mo...
Generating a Valid Password (or Not) This answer to the following question on the Unix & Linux Stack Exchange site: password - How to generate a random string? - Unix & Linux Stack Exchange suggests using commands like the following to generate a random string consisting of specific characters: head /dev/urandom | tr...
Hi all I am trying to forecast with an ARIMA model with outliers. At first x<-ts(data$value, start=c(2009,1), end=c(2015,12), freq=12) # keep 7 months to evaluate foecast SAR011011<-arima(serie,order=c(0,1,1),seasonal=list(order=c(0,1,1),period=12)); SAR011011 #fit.an.ARIMA.model.with.no.ou...
I have a large set of pollution data that has been recorded every 10 minutes for the course of 2 years, however there are a number of gaps in the data (including some that go for a few weeks at a time). The data does seem to be quite seasonal and there is a large variation during the day compared to the night in which...
I was recently reading a research paper on Probabilistic Matrix Factorization and the authors were picking a random vector from a spherical gaussian distribution ui ∼N (0,λ−1IK). Where lambda is a regularization parameter and IK is Kth dimensional identity matrix. They provided no details on how this is actually done....
Does anyone know how to find this pdf? I understand that $[X]\sim\mathrm{ Ge} \left(1-e^{-\frac{1}{a}}\right)$, but I got stuck after that ($[X]$ is the integer part of $X$). I would be really grateful for some input.
Can you please tell me what is a good resource about p-thinning of a point process and then finding the distance between the original and obtained process? Something like the Kullback Leibler distance, variation distance , etc?
When we estimate the posterior density function, we have the following equation: $p(x|data) = \frac{P(data|x)*p(x)}{p(data)}$ Let us think that our prior is a continuous distribution, say normal. We are trying to get probability of success in a trial that is Binomial, that is p(x|data). Now, What exactly this multiplic...
I know that the Gaussian copula has a zero tail dependence (tail independence) due to the exponential behaviour at the tail. I am just wondering if there is a rigorous proof for this? For simplicity sake, a bivariate Gaussian copula $C(X,Y)$ would do. In particular, there are no perfect correlations between $X$ and $Y...
I read numerous websites including wikipedia on heavy and light tail distributions. However, I am not quite understanding the distinction between the two. In some sources, it notes that light tail distribution has uniform distribution while heavy tail has a larger distribution. Hence, I am led to believe that heavy tai...
it's a simple question but I'm lacking in the department of statistics, so could someone please explain to me how to interpret my p-value from the power analysis? Here is what I've done (using R): 1. Ran my original sem model, then I specified a population model by assigning the parameter values from the original mode...
I have 1100 sequences for 2 classes. Of them 400 are from one class 1 and 700 are from class 2. I have used an one hidden layer auto-encoder of 2 neurons to capture my features. My initial features are tri-grams for each sequences. So, for each sequence I have 6860 tri-grams. As a result most of my input vectors are sp...
How can I show that the ARCH(1) process for $y$: $$y_t=\varepsilon_t=z_t\sigma_t$$ $$\sigma^2_t=\omega+\alpha y^2_{t-1}$$ is actually AR(1) process for $y$: $$y^2_t=\omega+\alpha y^2_{t-1}+v_t$$ where, $v_t=\sigma^2_t(z^2_t-1)$ I know it is pretty straightforward, but I don't really understand what is this $v_t$ term w...
$\newcommand{\P}{\mathbb{P}}$$\newcommand{\rank}{\operatorname{rank}}$I have a testing dataset with a binary response (0, 1) and two algorithms each estimating the probability of 1 for each trial. I am assuming responses are independent. I am wondering which metric should I use to compare the algorithms. Let $\hat{p_...
I'm concerned about the risks that might arise when one decide to model a complex process into a linear or non-linear polynomial or maybe a state space model. In the beginning of the century, Maxwell showed that the governors that were used to control motors caused sometimes a failure for the latter. These events are a...
I have to do a report, and the methods is using a given data and using R to analyse it. However, I have never wrote a report only using R.. normally when I have to write a report, the methods are based on experiments performed in laboratories. R have many formulas, do I just include the formulas I used in the methods o...
I am trying to implement a variant of SVM in C++ that takes in a gram matrix G and a target vector Y. Here is the formulation of the problem: $$min \frac{1}{2}\alpha^TY(\sum_{t=1}^{T}u_tX_t{X_t}^T)Y\alpha + \frac{1}{2}\alpha^T\alpha + \sum_{i=1}^{m}\beta_i\alpha_i$$ $$\alpha_i \in [0, C]$$ Here the betas are some give...
Given this probability density function $f(y|\theta)=(\frac{1}{\theta^2})ye^{\frac{-y}{\theta}}, y>0$ and $0$ otherwise. I found that my maximum likelihood estimator, by taking the derivative of the log of the likelihood function, would be $\Theta=\frac{1}{2}\bar{Y}$ but I also found that by taking the second derivativ...
To predict the popularity of a house, there might be several factors that could be relevant, like size, price, distance to mrt - while some others can be difficult to decide, like the education of current owner etc. How do we know whether the feature is useful in predicting the popularity of a house? What I could thin...
I have implemented a modified logistic regression with update equation of weights as where $ h_{\theta}(x) = \frac{1}{1+e^{-\theta^{T}x}} $, sigmoid function. $x^{(i)}$ being $i$ th data sample, $y^{i}$, $i$ th output. I learnt about this from an online course on Machine learning by Andrew N G. Accuracy was so lo...
In the goodness of fit chi squared test, the proof as below shows the way how to compute chisquared distribution value(learned in elementary course, just how to compute without the speicific reason) is applied to chisquared distribution mathematically. The proof is for special case : k row by 2 col As you know, in t...
$\newcommand{\P}{\mathbb{P}}$$\newcommand{\E}{\mathbb{E}}$$X \sim N(0,1)$ $W$ is Rademacher distribution $Y = WX$ https://en.wikipedia.org/wiki/Rademacher_distribution In order to prove dependece of random variables I need to show, that $\P(X,Y) = \P(X)\P(Y)$ is violated. I tried to find counterexample that would show,...
I'm quite new to machine learning and is trying to predict waiting times in a telephone-queue using a feedforward neural network. I have a lot of historical data for supervised training and i'm trying to map the data to an input-layer. Each person in the queue have some properties and are being prioritized by the secre...
I ran a mediation analysis in PROCESS (Hayes, 2013) with one mediator. While path a was highly significant, path b was not (p=.193). However the indirect effect was significant. In this case, can I claim mediation?
This is a hypothetical problem: imagine there is a $y \sim x_1, x_2, ...x_{10}$, with 3 of them classification and 7 of them regression(for example there several clusters within 3 dim space that use different regression model.) But we know nothing about the properties before and we want to propose a model as close as p...
I have two groups, A and B. They have a number of variables as follows Group, Age, Sex, NumberofSomething, NumberofSomething2 I want to determine which of the variables and combination of variables best predicts membership of a group. I then want to calculate an area under the ROC curve for this. My question is: Doe...
I am interested in fitting Gaussian Processes and multi-output Gaussian Processes on my time series. Which criteria should I check before doing so to be sure that these kind of processes are indeed relevant for the specific kind of data I am studying? I hope there are better ways than checking that any finite linear co...
How can I build a trivial classifier in R that checks the number of each possible output value, doesn't use features and assigns the most frequent value to the test data? Each test data instance is associated with the most frequent target value. In R I do as follows: trivial.classifier <- lm(target_value ~ -., data=tr...
I'm comparing different models and how well they fit but one of the models has two parameters $L_{0}$ and $\tau$ in the model: $B+L_{0}e^{\frac{-t}{\tau}}$ My method of comparison for my single parameter models was just take the maximum posterior distribution but when I have two parameters how do I choose which to tak...
We are developing an algorithm that tries to reconstruct/impute missing data from sparse datasets. I would like to know how to asses or quantify the sparsity of a dataset? Is there an appropriate statistical significance test for it?
For finding sufficient estimators and MLE's, there are certain distributions that require the indicator function such as the uniform distribution. Where does it come from in simple language? and for MLE's, if you use the indicator function, do you still require to take the log and derivative of the likelihood function ...
I'm struggling with interpreting the output from R for a mixed-design ANOVA. The code I used is the following: Calculate mixed ANOVA (WS factor=variable (trust benevolence/trust competence), BS factor=condition (distant future/near future)) aov_trust_condition = aov(value ~ Condition*variable + Error(id/variable), data...
I'm wondering if CCA is just a feature transformation method. Can I use it for predicting continuous variables like in regression methods? What I'm doing is to use CCA to transform my training and test matrices, and then use the transformed matrices as features to do regression (e.g., linear regression and decision tre...
It is well known that estimating the covariance matrix by the ML estimator (sample covariance) can be very numerically unstable (in high dimensions), which is why it is preferable to do PCA with the SVD, for example. But I haven't been able to find an intuitive explanation of why this is the case. For matrix inversions...
library(DAAG) mod <- lm(Sepal.Width ~ Sepal.Length + Petal.Width, data = iris) cv.lm(mod, data = iris, m = 10) Warning message: In cv.lm(mod, data = iris, m = 10) : As there is >1 explanatory variable, cross-validation predicted values for a fold are not a linear function of corresponding overall predicted values...
Consider the following estimator $$\hat\beta = \left(\sum_{i=1}^{N}x_ix_i' + \lambda I_k\right)^{-1}\left(\sum_{i=1}^Nx_iy_i\right)$$ where $x_i$ is a column vector $k\times1$ from $X$ and $\lambda > 0$ is a scalar and $\mathbb{E}(x_ie_i) = 0$ . Define bias and show that $\hat\beta$ is biased Define consistency and sh...
Using the lalonde dataset provided with the MatchIt package, I'm running the following R commands (from the subclassification example code on the author's website: http://r.iq.harvard.edu/docs/matchit/2.4-20/Examples2.html) to find the average treatment effect (ATE) for the re78 income variable via subclassification pr...
For some reason, the sklearn random forest keeps returning a smaller and smaller value for AUC when I use it for binary classification. I'm using some data that I generated myself, and the labels are 'yes' or no' and they have been converted into 1 and 0. import pandas as pd import sklearn from sklearn.ensemble import ...
A popular fast food restaurant changed their burger recipe in response to concerns about the nutritional content of the food that it previously served. The restaurant claims that 97% of people cannot detect a difference in taste between the new and old burgers. a. Assuming that this figure is correct, use a norm...
My model has 1 continuous outcome. Above is the residuals vs. fitted values plot. I know that if the equal variance assumption holds, then the residuals should be scattered evenly around 0 line with no discernible pattern. Here, it seems that there are no fitted values from 135 to 145. What can I conclude from this r...
I am working on this problem for my research. The attached time-series represents the disk usage sampled every 5 mins. The series is a saw-tooth pattern since the disk usage keeps increasing and part of the disk gets backed up every 24 hrs. Thus there is linear trend as well as seasonal pattern. I see a hourly seasonal...
According to Deep Learning p.65(Ian Goodfellow and Yoshua Bengio and Aaron Courville, available online): (...) This can be accomplished by defining PDF using the Dirac delta function $\delta(x)$: $$p(x)=\delta(x-\mu)$$ (...) By defining $p(x)$ to be $\delta$ shifted by $\mu$ we obtain infinitely narrow and infinit...
I was wondering and trying to understand if there exists any mathematical reason behind the superiority of RNNs over Feed-forward networks when dealing with sequential data. For example when modeling time series, HMMs, etc. Assume that the length of the sequence is fixed, but very large. Intuitively it's clear that RNN...
Let's say we have multinomial counts $y_{jp}$ (corresponding to observations $j$ over categories $p=1,...P$) that are arranged in a table of $n$ rows and $P$ columns. Then say we have the log-linear model: $log(\mu_{jp}) = \alpha_j + x_i \beta_p,$ and $y_{jp} \sim Poisson(\mu_{jp})$ Note here that $\alpha_j, j=1,....,...
Disclaimer: This is a homework problem This is a problem from "Adaptive Filter Theory" by Haykin. Problem 2.10 (2nd edition). Problem A discrete-time stochastic process $\{x(n)\}$ that is real-valued consists of an AR process $\{u(n)\}$ and additive white noise process $\{v_2(n)\}$. The AR component is described by the...
I am in a Stats class with a brilliant Professor that I unfortunately do not get everything they say and or do. I have a question of theirs that I would like to see how others address the answer to it. The question is below. I am having trouble connecting how to decipher a Type I and a Type II and how it should be set ...
Homework question: Let X and Y have the following joint density: $$f_{X,Y}(x,y) = x(x-y)/8,\ -x < y < x,\ 0 < x < 2$$ 0 otherwise. Give the pdf of V = X - Y. There were similar questions on this forum, but I couldn't figure out the answer to this question by referring to those answers. I used a simple table of sample ...
Where can I publish really short papers( like 2 pages) in Statistics and Machine learning fields?
What would this situation below mean? Is this heteroskedasticity (or something else)? Horizontal axis is time, vertical axis is quantity (of production sold).
I am analysing some data using SPSS mixed procedure to look at differences between conditions while accounting for nesting. As part of my model I would like to statistically "control" for two variables in the same way you might do with a multiple regression (i.e. entering a covariate into the model in a stepwise fashio...
I am trying to calculate the mean and variance of the following simple random walk: Suppose we start from 1. With probability $p$ it can increase to $a$, and with probability $q =1−p$ decrease to $b$. The walk follows these steps, therefore in the next step it can have three outcomes: $a^2$ with probability $p^2$, $ab...
I have a SPSS data set with 70 respondents with disease and 70 control respondents without disease. I also have a list of 18 symptoms that they could have. Is there a way to ascertain which symptoms contribute more to the diagnostic? Which statistc test should I use?
If $X \sim \mathcal N(2,4)$, find the value of $P(X\ge3.5)$. My attempt: Given that, $\mu = 2$ and $\sigma^2 = 4$. $\Bbb P(X \ge 3.5) = \int_{3.5}^x{\frac{1}{\sqrt{2 \cdot\pi \cdot4}}\cdot e^{\frac{-(t-2)^2}{2 \cdot 4}}}dt$
I have the following model: $$ q^\star = argmin\{\sum_{i=1}^n (y_i q^T x_i)+ λ\|q\|^2_2\} $$ where each $x_i$ is a sample of a $p$ dimensional feature vector. As it is common to do, I have encoded the bias (intercept) as one of the feature, ie. such that $x_{ij}=1$ for all $j$. All other features are presumed to be on ...