instruction
stringlengths
9
38.7k
I have a dataset, which is based of a log.The data is as following: bid LOGIN UPDATE_BILLING CREDITCARD_APPROVED CREDITCARD_DECLINED UPDATE_MONTHLY_BUDGET CREATE_AD UPDATE_AD_BID UPDATE_AD_BUDGET UPDATE_AD PAUSE_AD 1 -1 0 0 0 0 0 0 ...
I have trained linear discriminant analysis (LDA) classifiers for three classes of the IRIS data and struggling with how to make the classification. Here is the procedure: For the Iris data, I have 3 combinations i.e. (0,1), (0,2) and (1,2). So, I trained a simple binary LDA classifier for each combination, and ended u...
In R, the logistic regression output gives you predicted probabilities. Is there away of determining the threshold value $\alpha$, such that any $p > \alpha$ is classified as a $1$ and and $p \leq \alpha$ is classified as a $0$? Can the caret package do this?
I hope that someone will be willing to help me with the following question. I have data on the numbers of hours participants spent in 6 programs over 2 years. I have already tested whether the number of hours increased over time, but I also want to know whether the proportion of time spent in each of the programs chang...
How can I test than the mean of a variable is greater than or equal to -3 and less than or equal to 3? In other words I want to test if the absolute value of the mean is less than or equal to 3. Thanks!!
I've developed a ARIMA model with exogenous variable. Before fitting the model, I made every time series stationary by differencing (each variable had a different order of integration). For simplicity, let's say there was only one exogenous variable. Finally I ended up with a model. Keeping in mind that all my data are...
I'm trying to understand Gaussian Processes. Could anyone tell me: Why we need to use the log marginal likelihood? Why using log, the marginal likelihood can be decomposed to 3 terms (including a fitting term and a penalty term)?
I know that in a GP, hyper-parameters are optimized by maximizing the marginal likelihood. Could anyone explain this method to me please? Thanks for your help in advance.
Suppose that you have a tournament for a game with four players on each team. We also have a table that tells us overall statistics for each player. This table includes things like each player's # of games played, % of games won, and other game-specific stats. Now, If I were running a tournament with, I would want to...
Is it all right to do an F test of equality of variances on error variances (RSS divided by degrees of freedom)? Thanks a lot.
Say I want to know what sample size I need for an experiment in which I'm seeking to determine whether or not the difference in two proportions of success is statistically significant. Here is my current process: Look at historical data to establish baseline predictions. Say that in the past, taking an action results ...
I am working in R with daily time series data and have daily observations of two variables. The first is continuous. The second is zero for every day except one, in which it is a number (I'm not sure what to call it, so I referred to it as “almost-Boolean” in my title). Both variables are stationary. I have hundreds...
I have this web application where I need to map consumer preferences based on some input information and individual choices. My goal is to create a list of product recommendations and evaluate the level of “importance” of these products with respect to the user. From my research so far I realize that there are severa...
Consider a Metropolis-Hastings walk over an exponentially large, known state space S. The proposal/transition matrix P is known, as is the target stationary distribution. In fact, assume there is an efficient algorithm Propose_P(s,c) that, if provided sufficiently long uniform sequence of "coins" c, will sample accor...
For a multi-class classification problem, we can use $K$ binary logistic classifiers, or one softmax regression classifier, so how to make the choice between the two? IMHO, the $K$ binary logistic classifiers is just the 1-vs-all scheme for multi-class, but softmax classifier inherently handles multi-class problem. Why...
I have three different physiological variables--heart rate, respiratory rate and blood oxygen saturation, each as a time series. I am trying to study the interaction between the variables as they progress towards a particular defined point in time. I tried the use of a Vector Autoregressive (VAR) model but unfortunatel...
I have about 1000 samples worth of daily electrical consumption for a building. I'd like to build a predictor based on a number of observable inputs, including: daily temperature (continuous) hours of sunlight (continuous) is_monday, is_tuesday, ... (binary) is_holiday_or_weekend (binary) ... and maybe a couple of o...
I have two related questions, both of which are related to a meta-analysis I am performing where where the primary outcomes are expressed in terms of the standardized mean difference. My studies have multiple variables that are available with which to calculate the standardized mean difference. I would like to know the...
I have a linear regression model such as $Income_i = \alpha + \beta_1 Primary_i + \beta_2 Secondary_i + \beta_3 Tertiary_i + u_i$ where my predictors $Primary, Secondary, Tertiary$ are dummy variables to indicate the education level. Of course those who have completed tertiary education also completed secondary and pri...
I am reading a paper about the Dirichlet process and image segmentation. (http://dl.acm.org/citation.cfm?id=2404806) How is (3) below derived? Do any articles or posts explain image segmentation and the Dirichlet process?
I am using auto.arima for forecasting. I have more than one categorical variables having more than one level. My questions are : Do I need to do dummy coding ? If I do dummy coding with my categorical variables, this will result into 20 variables. Is it good to have such number of variables in time series model. How ...
I wish to test my time series data for volatility clustering, i.e. conditional heteroskedasticity. So far, I have used the ACF test on the squared and absolute returns of my data, as well as the Ljung-Box test on the squared data (i.e. McLeod.Li.test). In a recent paper (http://papers.ssrn.com/sol3/papers.cfm?abstract_...
I was wondering if Markov Clustering is what I really am looking for or not. Basically I have a N node graph in which every node is directly connected with one another. However, all the edges are weighted from 0 to 1. Will using MCL produce a useful cluster, or should I be looking somewhere else? Sincere apologies, if...
I'm trying to classify my set of data into two classes (introvert / extrovert). I was thinking of using a decision tree at first, but I don't have any potential known results in order to create my decision tree model. Thus I decided to use a k-means clustering algorithm with k = 2. Since the clustering algorithm accep...
I have already solved this question, but I need some feedback. A new method for measuring blood pressure in laboratory mice using radiotelemetry has been proposed. How does this compare with the existing method? You apply both methods to a sample of 16 mice and use ________. I believe a matched-pairs t-test should go...
In my current dataset I have quite a few categorical variables. Most have decent distributions between the categories. 30:40:30 splits etc. where these are percentage of dataset members per category dataset is ~2000 members But a fair few have either (I feel) useless or difficult distributions. Some have distributions ...
I'm currently trying to use Newey-West standard errors accounting for Heteroskedasticity and Autocorrelation with the sandwich package in R, but i lack understanding as i can not fully grasp the instructions provided in the manual. library(sandwich) ## fit investment equation data(Investment) fm <- lm(RealInv ~ RealGN...
I have a dataset of various ecological variables on which I want to run linear regression. The variables are continuous, but also include aspect data (sun exposure), in grades. My problem is that the aspect values ranges from 0 to 400, with 0=400=north. How can I include "cyclic" values in the regression? Should I keep...
I'm currently working on a statistical modelling problem in biology. We have cellular measurements of proteins in every cell in a tissue, and I'm using regression analysis to see if a given protein is affected by the protein content in nearest neighbours. Overall, I'd like a general linear model of the form $Y = \beta ...
Is this equation: $$\log{(y)} = a + bx$$ semi-log or log-linear mode (or it is the same thing)? I have two models: linear (1) and semi-log (2). The values of $R^{2}$, adjusted $R^{2}$, and Standard Error are: Linear: $R^{2} = 0.6780,~\mathrm{adj.}~R^{2} = 0.6513,~~\mathrm{SE}=94.101$ Semi-log: $R^{2...
I am given a time series data vector (ordered by months and years),which contains only 0s and 1s. 1 s represent a person changes his job at a particular a month. Questions: What model can i use to determine model how frequently this person change his job ? In addition, this model should be able to predict the probabil...
I have different variables (A, B, C, D) which are all ordinal scaled. I have another variable (Z) which is ordinal scaled, too. My sample size is approx. 1.500. Is it in the statistical sense correct, to calculate the Spearman's $\rho$ for each relationship - (1) A & Z, (2) B & Z, (3) C & Z and so on - and compare thes...
I know that there are already a host of questions about nested designs but many of them haven't been answered or come from biological domains which I sometimes find hard to transfer to my domain. I am currently trying to analyse the data from a psychological study. Participants read four statements and indicated how ap...
Here I have shown the first two lines of my data frame. It goes on for a number of lines. I am wanting to make plots to show what is happening over time . e.g a plot showing the sequence of grip changes over time and who is making the changes P1 or P2 . I am using R, so things I can implement in R would be relevant - ...
From John Kruschke's book, Chapter 7, Pg. 120 (summarised for succinctness): A politician is constantly travelling from island to island on a chain of islands... His goal is to visit all the islands proportionally to their relative population, so that he spends proportionally more time on the more populated isla...
Here is the R code that produced the output below: library(caret) set.seed(934) fitControl <- trainControl(method= "repeatedcv", number=10, repeats=10) logitfit <- train(z~ a+b+c+d+e, data=train, method="glm", trControl = fitControl) logitfit Consider the following output from R: Generalized Linear Model 900 samples...
I conduct some experiments on continuous speech recognition. After the initial application of the recognizer I have the phoneme sequence that includes some errors (three types of errors: substitution, deletion and inclusion). For instance: I obtain h e l' l o n y k f r a n d s t instead of h e l l o m y f r i e n d s S...
Is it necessary to create a stable vector autoregressive (VAR) model satisfying all the necessary checks to create it and then and only can we say that Granger causality holds true?
Let $\theta \in \Theta \subseteq \mathbb{R^d}$ be the parameter of interest and let $\theta_0$ be the true population parameter value. Let $n$ be the sample size. Let $CS_n$ be the confidence set for $\theta_0$ of level $(1-\alpha)$ obtaining by inverting a test, i.e. $$ CS_n=\{\theta \in \Theta | T_n(\theta)\leq c_...
I have a sample that was drawn using cluster sampling. Let say I have variables x and y, and I would like to check the significance of correlation between those two variables in SPSS 20 taking into account cluster sampling. The problem is that SPSS "complex samples" dialog doesn't offer such an option. Would it be cor...
So I am developing this application for rating books (think like IMDB for books) using relational database. Problem statement : Let's say book "A" deserves 8.5 in absolute sense. In case if A is the best book I have ever seen, I'll most probably rate it > 9.5 whereas for someone else, it might be just an average book...
I have CO2 (in parts per million) data of a closed room. The CO2 data is recorded along with timestamps. Typical difference between two samples is around five minutes. My aim is to find occupancy of the room. Theoretically, while the room is occupied the CO2 levels increase. And, when the room is unoccupied - CO2 leve...
I am running multiple linear regression with R. mod=lm(varP ~ var1 +var2+var3+var4) The table is: all: lm(formula = varP ~ var1 + var2 + var3 + var4) Residuals: Min 1Q Median 3Q Max -4.9262 -0.6985 0.0472 0.7319 4.3305 Coefficients: Estimate Std. Error t value Pr(>|t|) (I...
I am trying to forecast data using ARIMA. I have read articles which say that I should first take the log of the series, if my series follows an exponential trend. My question is: Is there a mathematical approach to find what kind of trend (linear or exponential) my data is following? Im working with MATLAB and R. So...
If I have multiple data series, a = [a1, a2, ... a100] ~ bimodal with mu_a1, mu_a2, sigma_a1, sigma_a2, b = [b1, b2, ... b100] ~ bimodal with mu_b1, mu_b2, sigma_b1, sigma_b2, c = [c1, c2, ... c100] ~ bimodal with mu_c1, mu_c2, sigma_c1, sigma_c2, how do I normalize a, b, and c to follow the same distribution? Say, ...
I have the following data structures and would like to know your opinion which regression models are most suitable (and available in R) model 1: - 20,000 cases - nested in 500 spatial units (only intercept variations are needed) - the response variable is censored (only values >1) are possible - 10 independent variable...
I am running multinomial logistic regression analysis on my data. The response variable is the number of calves produced each year (0,1, or 2). I am trying to evaluate the influence of the X variables on the odds of producing a calf. My X variables are predation risk (WR; continuous), age of mother (age; categorical...
I am working on my thesis where I'm examining how strong emotion people show to different events. My problem is (1) that I have VERY little experience with statistics and math, so I'm kind of lost with all different methods and would be really happy if a 'easy' answer could be given (without lots of algorithms and stuf...
I want to compare reaction time in four groups but I have three measures (pretest,post test and delayed post test) only in one of the groups. it was impossible to give post test and delayed post test in the other two groups and in the last group just possible to give pretest and post test, and only the first group rece...
(I'm a beginner so my question could be really dumb ...) So, I have a set of data that contains 30 schools' variable A and variable B. These two variables were measured repeatedly each year for 10 years. I'm interested in knowing whether these two variables are correlated, but was confused by the repeated measurement t...
For a set A, I'm running 8 independent random samples, each with a probability of 1/8=12.5% and is without replacement. I know that the set formed by the union of these 8 samples will be of a size between 12.5% and 100%. Is there an expected value for the size of this union?
I have already asked this question but I did not initially give out all the details on the question, like the question being a multiple choice question. You manufacture and sell a iron rod whose electrical conductivity is supposed to be 10.1. You plan to make 6 measurements of the conductivity of a rod you plan to sell...
I am looking for bibliographical reference for comparing two variance matrices with he following criterion: $\text{Var}[X] \geq \text{Var}[Y] \quad \text{if} \quad \text{Var}[X]-\text{Var}[Y] \succeq 0$ This means that $X$ has greater variance than $Y$ if the difference of their variance matrices is positive semi-defi...
Suppose that I have a time series that exhibits a notable trend, and I want to test a hypothesis that a second variable is related to that trend. I fit a linear regression model with that second variable as a predictor, and it accounts for a significant amount of variance. However, there is some part of the trend that ...
I have a data in the following format: $$ \begin{array}{rr} \textbf{colm_1} & \textbf{colm_2}\\ 3 & 1\\ 10 & 0\\ 3 & 0\\ 100 & 1\\ . & .\\ . & . \end{array} $$ colm_1 are basically whole numbers and colm_2 denotes binary values say success or failure. What I am expecting is that, for lower values of attributes in colum...
I have done the first part of the question already I just need help on the second part. You read in a U.S Census Bureau that a 99% confidence interval for the mean income in 2005 of American households headed by a college educated person at least 25 years old was 100,272±1651. Based on this interval, can you reject the...
The density() function in R allows me to enter observations and get an empirical density that I can plot x and y values. I like it because it allows me to weight observations according to how important they are, and it allows me to specify the smoothing bandwidth I want. My question is once I run the density() function...
I am attempting to use a neural network, after using other machine learning algorithms. I am using the RSNNS package (I am willing to use / evaluate other packages) that's part of R. I would like to get a precision that's at least 66%. I split the data in a training and test sets, with 4/5 of the data in the training...
I'm looking for the best way to test the hypothesis that two groups are different considering the relationship between two variables. There is a population of individuals and, for each individual $x$, I know a value $m(x)$ from 0 to 100 and a binary value $s(x)$. I know there is a strong correlation between $m$ and $...
I've been rethinking an answer I gave to a question a couple weeks ago Hold-out cross-validation produces a single test set that can be used repeatedly for demonstration. We all seem to agree that this is in many ways a negative feature, since the one held-out set could turn out to be non-representative through randomn...
I am doing a meta-analysis of observational studies. As the disease I am working on has different stages, some of the studies reported ORs (95%CI) for each stage separately in comparison to a single (shared) control population. I wonder if we can combine these two ORs (and their 95%CI) given that they reflect two case ...
Unfortunately for me, I've got a situation where I need to control for the lag of a dependent variable as a robustness check against an alternative interpretation of my main regression. The baseline specification is $$ y_{it} = \alpha_i + \delta y_{i,t-1} + X'\beta + \epsilon_{it} $$ The lagged dependent variable ren...
I am currently using a Bayesian network model with 20 variables and 210 data points, with 15 locations measured at 14 different time points each. There are also some restrictions on what types of connections are allowed. I have looked at leave-one-out cross-validation methods (and arguably leave-two-out would be comput...
I do not want to say my AUC is 0.77 and find out I am overlooking a lot. Below is my code and a two question at the bottom: setwd("g:/docs/Model") mydata <- read.csv("TModel_JUL16.csv") summary(mydata) mydata$ZIP <- factor(mydata$ZIP) mydata$RACE <-factor(mydata$RACE) mydata$GENDER <-factor(mydata$GENDER) mydata$ADM_SO...
I'm trying to solve a Bayesian problem where I have two mutually exclusive and exhaustive hypotheses: $H_1$ and $H_2$. Given Baye's formula: $$P(H|D) = \frac{P(H)P(D|H)}{P(D)}$$ (where $D$ is my data) I've read that one way to obtain the posteriors $P(H_1|D)$ and $P(H_2|D)$, is to create a table like this one: P(...
I'm kinda running out of words, Linear congruential generator are really low quality PRNG but it was all I needed for some basic stuff, now I need to fill the blank and get to know other families of PRNG but I don't have any idea about what are all the available families of PRNGs. Someone can possibly write the hierarc...
I can understand ridge regression is better than ordinary regression in case of multiple-collinarity. set.seed(123) x1 <- rnorm(100) set.seed(223) x2 <- rnorm(100,mean=x1,sd=.01) set.seed(344) y <- rnorm(100,mean=3+x1+x2) myd <- data.frame(x1, x2,y) cor(myd) x1 x2 y x1 1.0000000 0.999938...
For an exponential QQ plot, we fix the theoretical distribution to have $λ=1$. In order to compare the plotted points with the line $y=x$, what kind of rescaling should be applied to the data and why? “Hint“ given with this problem: If $X$ follows an exponential distribution with parameter $λ$, then $λX$ follows an e...
I would like to fit LASSO in the following type of data where there are large number of variables (p > n). My y variable is y and would like to fit rest of variables in myd as x variables. #random population of 200 subjects with 1000 variables M <- matrix(rep(0,200*100),200,1000) for (i in 1:200) { set.seed(i) M[i,...
Is there a way to reduce the number of interaction terms in a diff-in-diff model to make the results easier to interpret/present? Background: I'm trying to run the following diff-in-diff regression: Y = POST + TREAT + A + B + C + POST*TREAT + POST*A + POST*B + POST*C + TREAT*A + TREAT*B + TREAT*C + A*B + B*C + POST*TRE...
I have a monthly time series with an intervention and I would like to quantify the effect of this intervention on the outcome. I realize the series is rather short and the effect is not yet concluded. The Data cds <- structure(c(2580L, 2263L, 3679L, 3461L, 3645L, 3716L, 3955L, 3362L, 2637L, 2524L, 20...
Let $X_n, X, Y$ be random variables such that $X_n + cY \stackrel{d}{\rightarrow} X + cY $ for every positive constant $c$. Prove that $X_n \stackrel{d}{\rightarrow} X$. I know if only we have joint convergence we can show this by the continuous mapping theorem, but even that is not assumed. Just what am I missing?
Can anyone recommend a library for time series data mining tasks other than predictive modeling and statistical analysis? There seem to be a number for these purposes (e.g., Gretl), but nothing for the tasks of: Classification Clustering Subsequence search Anomaly detection Motif discovery Indexing I can't be the fir...
ReLU has a range of [0, +Inf). So, when it comes an activation value z=0/1 produced by ReLU or softplus, the loss value computed by cross-entropy : loss = -(x*ln(z)+(1-x)*ln(1-z)) will turn to NaN. As i know, my variables are run in theano.tensor type which cannot be modified after defined. So, I cannot simply change t...
Can somebody help me with this approximation: as $m$ gets really large, $\dfrac{r}{m}$ gets really small and hence $\log\left(1+\dfrac{r}{m}\right) \sim \dfrac{r}{m}$. I don't understand how did $\log\left(1+\dfrac{r}{m}\right)$ approximately equals to $\dfrac{r}{m}$? Please clarify.
I have a dataset where each row is an hourly measurement of certain fields (columns). For each column I then add another column that is its respective z score relative to the entire population. If I then group by month by calculating the aggregate mean for all merging rows, are my z scores still valid, or do I need to ...
I would like to compute the power of two distributions which are poisson with $n_1$ being large and $n_2$ being medium sized. I have used the formula given by Krishnamoorthy and Thomson for the C-test (see below). $$\sum^\infty_{k_1=0}\sum^\infty_{k_2=0}\frac{e^{-n_1\lambda_1}(n_1\lambda_1)^{k_1}}{k_1!}\frac{e^{-n_2\la...
I have calculated the value of Pearson's r between two variables in SPSS, two tailed. Sample size is 81. The r value is -.21. The p value is .06. When I compute the 95% confidence intervals using bootstrapping with 2000 samples and the Bias corrected accelerated (BCa) option checked, I get confidence intervals [-0.36, ...
I've searched the web and these forums but couldn't find a subject that resembled my problem. If I missed something then I'd like to apologize upfront. My problem is this. I have a given probability p, given by an outside agency and the number of successes n from an owned datasource. I'm interested in the population to...
Mean reverting level in following AR(1) process is $b/(1-a)$. $$x(t) = a + bx(t-1).$$ I understand this. I read that the mean reverting level for AR(1) process given below with finite differencing is $-(b/a)$: $$x(t)-x(t-1) = a+ bx(t-1).$$ Can someone explain how is this true? Can you please help me with the derivatio...
I have an svm-related question. I have an unbalanced dataset, meaning classA could be 1/10 to 1/35 of classB. Well I am interested in getting a linear svm which would separate the data and would achieve the greatest possible recall of classA. Let me show some examples to be more specific: If 1000 samples are mapped t...
I'm looking for the assymptotic ($n\rightarrow \infty$) value of (the log of the determinant of) the covariance of the $\alpha$% of observations with smallest Eucledian distance to the origin in a sample of size $n$ drawn from, say, a bivariate standard Gaussian. --The hyper-volume of an ellipse is proportional to...
Is there a package in R that can estimate panel data with cross-sectional seemingly unrelated regression generalized least squares weights (like in EViews)?
I created an Arima (3,1,1) model using the steps below. I was able to create a nonparametric model, but now I would like bootstrap for the created model (model 3). Also I'd like to plot the paths of the various simulations. Any help would be greatly appreciated. I'm new to R and this is my first question, so apologies ...
SAS Enterprise Miner nicely creates coded dummy variables for any categorical variables used in a logistic regression model. When it performs a variable selection using stepwise sequential selection in the Regression node, however, if one of the dummy variables is included in the regression model, all of the other dumm...
Is there a statistical measure for how much a variable fluctuates over time? For example a noise signal fluctuates a lot. However, if you would sort all values of the signal in time, you would have a signal that does not fluctuate at all. My first idea was to use the variance of the derivative, but I’m not sure whether...
I have some daily data from city A, B, C. Values from city A are highly correlated with values from other cities for lag -1,-2,-3 and -4. I want to use Random Forest, SVM and ANN to predict values for city A. My idea is: Split data into training and testing set. Use the formula: valueA ~ valueB-1 + valueB-2 + valueB-...
I have data for 1000 students' performance over 10 different tests on a scale of 0 -100 (a 1000 rows X 10 col matrix). I calculated the mean score and the associated coefficient of variation for each student. Now I wish to sort / rank students who consistently perform better, that is, have a high mean score and low coe...
I'm trying to use mixed-effects modelling to analyse some data. There are a number of variables that I need to specify within the model, two of which are between-participants (x1 and x2) and two of which are repeated-measures (z1 and z2). I'm interested in individual differences both generally and in relation to the re...
Say I am about to receive 5 cash prizes and I have the probability of receiving each cash prize. Let's denote a set of cash prizes with $k$. So, below is the set of cash prizes and the set of corresponding probabilities: $$k=\{65,25,30,54,30\}$$ $$p(k)=\{0.8,0.5,0.25,0.2,0.4\}$$ Hence, the expected value of my cash pr...
Suppose you construct a 95% confidence interval on a mean. Can you state that there is a 97.5% probability that the true population mean lies below the CI upper bound and that there is a 97.5% probability that the true population mean lies above the CI lower bound?
Basically this is a question if I got the general idea behind the Type II Error right. I’ll set up a little reproducible example: Given $p_0=0.6$ with an $\alpha$-level of $\alpha=0.1$. As Binomial tests are conservative with respect to $\alpha$ we first calculate (using R) the actual $\alpha$ used: Calculating the act...
I am interested to estimate the density of a continuous random variable $X$. One way of doing this that I learnt is the use of Kernel Density Estimation. But now I am interested in a Bayesian approach that along the following lines. I initially believe that $X$ follows a distribution $F$. I take $n$ readings of $X$. I...
in support vector machines the idea is to find a decision boundary in which the margin is maximized. This can be written as $$ \text{minimize} \ \lVert w \rVert$$ $$\text{subject to} \ \ y_{i}(\boldsymbol{x}_i \cdot \boldsymbol{w}+b) \geq 1$$ What is the optimal decision boundary based on the above minimization proble...
Can dependent variable for PLS be based on Likert scale? As i understand, dependent variable needs to be continuous. I wish to multiply frequency (i.e. integer value 3) with rating coming from likert scale (for example 5) to get value of Y as 15. is this acceptable as a continuous variable? If not, appreciate any alte...
The Metropolis–Hastings algorithm is a Markov chain Monte Carlo (MCMC) method for obtaining a sequence of random samples from a probability distribution for which direct sampling is difficult. Would anyone have real-world, concrete examples for which direct sampling is difficult and M-H procedure is easy?
I have data aggregated at state level. When I estimate a spatial autoregressive model such as $$y = \rho W y + X\beta + \epsilon$$ on this data, I see that the autoregressive parameter $\rho$ is moderately significant ($\rho = 0.2$, $p$-val$= 0.06$). But I am preparing to apply this estimated model to data aggregated a...
Are these merely stylistic conventions (whether italicized or non-italicized), or are there substantive differences in the meanings of these notations? Are there other notations meaning "the probability of" that should be considered in this question?
I am currently conducting a two-way ANOVA on a dataset and have noticed how significance and F values change dependent on the type of ANOVA I use in R. Why is this? For instance, if I run a two-way ANOVA the factor I am analysing becomes outputs F (1,28) = 7.2, P <.05. When I run it by itself however in a one-way ANOVA...
Hi I know why feature scaling is preferred in SVM, I have two questions: 1-does anyone know of legit articles of books explaining it. I am writing my thesis and I need references. It doesnt have to be for SVM specific, even if it is for Neural Networks or other supervised learning algorithms it will be appreciated. 2-O...