instruction stringlengths 9 38.7k |
|---|
I am following the famous book by Pollard Convergence of stochastic processes (1984) and he writes
I don't understand how is the deterministic function $H(\theta)$ defined, in particular what is that P he puts at the start of it? Is it a probability measure? over what set?
|
I have a data frame wherein 89000 records 60% of the values are missing I am replacing the missing values by zero which is a legitimate zero which is making the data sparse. Now when I train the model with SVM for one class or novelty detection which is giving me good accuracy but I have another test datasets for_predi... |
In this binary sparse coding paper referenced in the Goodfellow/Bengio/Courville deep learning book (https://fias.uni-frankfurt.de/~bornschein/papers/HennigesEtAl_lva2010.pdf), the parameter $\pi=p(s_i = 1)$ is learned and not a hyperparameter. As far as I can tell, there is no prior imposed on the value of $\pi$.
My q... |
I am trying to understand Type I/II/III sums of squares.
Take for instance the 2 way Anova with 2 factors A and B.
I do not follow what Type III Sums of Squares are. In type III sums of squares we account for the main effect (say A) AFTER removing the effect of the other main effect(B) + interaction(AB). My query is : ... |
We've just learned nonparametric estimate of spectral density, and the book doesn't explain it well. We have a r assignment that need to find a nonparametric estimate and find predominant periods. I am just confused in how much should I smooth, and what am I looking for in the smoothed graph.
Here is the priodogram of ... |
Can
$$
X_t - a X_{t-1} = Z_t + Z_{t-1}
$$
be written with recursion as
$$
X_t - a^2 X_{t-2} = Z_t + (1-a) Z_{t-1}
$$
where $a =
\begin{pmatrix}
0 & 1/3 \\
1/3 & 0
\end{pmatrix}
$?
I wasn't sure of how to find the autocovariance when the MA(1) did not have a companion matrix.
|
I have a dataset with several classes, let's say class 1 and class 2. In the data (which are split into training and testing), 90% are class 1 and 10% are class 2. I want the predictions to come close to the ratio. However, I'm getting something like 99% class 1 and 1% class 2.
I can use sklearn.utils.class_weight.comp... |
I was reading this pdf and at slide at 23 I got stuck.
Also how does boosting reduces the bias ? I understand it will reduce variance by averaging.
|
I'm trying to wrap my head around the finer points of backpropagation through time and was hoping to get some clarification on something.
For the most part, I understand the general idea of BPTT: we feed inputs forward through the RNN to estimate output, send the errors backwards along the network to calculate gradient... |
I have data that is comparing pay rates for males and females (y-axis) based on how long they've been employed in a department (in months, x-axis). Essentially, there's two points, one female pay rate point and one male pay rate point for each color-coded department and they are based on longevity (so a female point ma... |
I am data modelling analyst in telecom company and now work on churn prediction model. I use decision tree algorithm with cross validation in SAS Enterprise Miner. The results are satisfactory as I get high percentage of predicted churners in top percentiles of predictions ( 55% true in top 3%).
But recently I added s... |
Given a random variable $X$ which follows a normal distribution with unknown mean and unknown variance: $X \sim N(\mu,\sigma^2)$. Say we have $n$ observations of samples from $X$: $x_1,x_2,\dots,x_n$. Given a new random sample $x_{n+1}$ generated from $X$ and a real number $b$, how to compute the probability $p(x_{n+1}... |
In a paper I am reading now I found the following statement:
Then, of 200 candidates for the study, 50 were at random selected using a computer-generated randomization list (MS Excel). This way, even if a certain “selection bias” would have been present, at least this bias would be “diluted” 1–4 by the random selectio... |
I have data on an old (non-randomised) clinical study to run secondary analyses - an exercise.
The trial had three periods as follows:
Time zero: first group receives the drug (baseline information on
both groups)
6 months: first group stops taking the drug, second
group starts taking the drug
12 months: second grou... |
I had a discussion with a colleague about a research project he is involved in.
We're living in a regression framework, where the colleague aims to infer about the causal effect of an independent variable X on a dependent variable Y. A model is assumed:
$Y_i = \beta_0 + \beta_1X_i + ... +\epsilon_i$
where the typical... |
I am using python sklearn's one-class svm classifier for anomaly detection. I would like to know can I accurately calculate the required value for nu and gamma for rbf kernel. Is there any equation or theory to calculate nu and gamma according to dataset?
|
I am making my first thorough exploration of transformations.
My primary goal is to improve the normality of the residuals following a mixed effects model fit. For some of my response variables, the residuals (and original data) show a good approximation of a normal distribution. For others, there is substantial ske... |
A decomposition model widely used in practice is
$$Z_t = \mu_t + N_t + a_t$$
where $\mu$ captures the deterministic part of the series and $N_t$ is a stationary process that can be adjusted by ARMA(p, q).
The series I'm studying shows no trend, only seasonality.
I tried to fit a dummy regression, however $N_t$ is non-... |
An electronic device has two circuits $(C1, C2)$. $C2$ is a backup circuit and starts to work only when $C1$ is corrupted. If $X$ and $Y$ are continuous random variables indicating lifetime of $C1$ and $C2$, and we have:
$$
f(x,y) = \begin{cases}
\frac{24}{(x+y)^4}, & \text{x,y > 1} \\
0, & \text{otherwise}
\end{cases... |
In the book "All of statistics" (Wasserman 2005) they present the likelihood ratio hypothesis test, using the likelihood ratio statistic:
$$\lambda=2\log{\Lambda\left(x^{n}\right)\triangleq2\log {\frac{\sup_{\theta\in\Theta}L\left(\theta\right)}{\sup_{\theta\in\Theta_{0}}L\left(\theta\right)}}}=2\log {\frac{\mathcal{L}... |
Let's say I have multiple wine experts who rank set of wines over time.
To put it formally, I have n experts, m wines in the set and c measurements.
Measurement is a matrix with n rows and m columns, on position xy is value between 0 and 1 saying what wine expert x thinks about the wine y.
I'd like to measure, how good... |
Recently Julia Silge blogged here and here, quoting blog entry by Chris Moody, who suggested that the similarities arithmetic in word2vec can be approximated by using PMI indexes followed by SVD decomposition. Word2vec is used to produce word vectors, that enables a user to do similarities arithmetics, e.g. king - man ... |
This is my first question, so I hope I get it right. I can define the starting point as well as the desired outcome , but the how is a mystery to me at the moment. Please let me know if I need to provide more information.
Problem:
What I have:
I have a data set of customer numbers and all their financial transaction ... |
I want to use elastic net (lasso + ridge) method for feature selection process. I can't understand why does the ridge method gives me the grouping effect for correlated variables. Can anyone explain that please?
|
I have a data source that manually curates information from news sources. So there are at least two forms of bias: (1) what is covered by the news, and (2) the process of manual curation. So not all events may be included in the data source, and those that are excluded may not be a random subset. I don't have a hard fi... |
I'm analyzing a data set with following variables:
X: Continuous (IV)
Y: Continuous (DV)
M: Continuous (Mediator)
W: Categorical [0, 1] (Moderator)
To run moderated mediation analysis, I'm using Hayes Process macro: Model 8.
Here is the result:
1-
2-
As you can see in the first part, in Condition "0", the CI of ind... |
In certain models like a logistic model; fuzzy responses can occur. We may have suspicion in determining the state of the response variable (0 or 1) and
therefore, cannot categorize the individual samples in one of two response categories. for example....Hypothetical example..... Suppose I collect data on whether an in... |
In eViews its is possible to use Census-X13 adjustment after which you get a new set of data. It makes modeling easier, but forecasting does not include seasonality. Does it mean that this adjustment is made just to see the development of the time series or you should transform the data back to seasonal after forecasti... |
I have been trying to compute Jaccard similarity index for all possible duo combinations for 7 communities and to create a matrix, or preferably Cluster plotting with the similarity index.
There are 21 combinations like Community1 vs Community2, Community1 vs Control and Control vs Community2 etc...
Data is like below:... |
The starship Enterprise is under re from the Borg and Data the android is trying to save it. He knows
that if the ship is close to the Borg vessel and the power is high, he will hit the Borg with probability
90%. If the Enterprise is close but the power is low, the probability drops to 70%. If the Enterprise
is far and... |
I am working with a data-set of around ~100000 observations(rows) and ~256 features(columns). Is there any recommendation for applying Machine Learning techniques on such a data-set efficiently ? Maybe by parallelization or similar approaches ?
I am currently using Matlab for applying different Machine Learning, but ha... |
In a nutshell, I'd like to compute a confidence interval for some weighted sample data where the final value I'm seeking is a sum of different weighted samples. Illustrated here with a toy example set of observations:
item | value | weight
A | 1.5 | 0.33
A | 2.1 | 0.67
B | 6.7 | 0.5
B | 5.0 | 0.5
T... |
I am doing a multivariate time series analysis. However, one of my time series is the Productivity Index. The time series consist of quarterly data from 1971 to 2015. The index is such that 2010 = 1, meaming that the average value of all four quarters in 2010 is equal to 1. The remaining values for every quarter are ex... |
I have a financial dataset with 9500 observations with 4000 variables. There are around 2500 variables highly correlated (higher than 0.95). Without removing any variable, I have applied PCA. According to my results, first 100 components explain 78.8%. When I check the PCs in detail, I observed that the highest loading... |
I'm training a neural network to predict some numbers that can be positive or negative and the range can vary.
The network will eventually be used to predict if the number will be positive or negative.
I noticed that when I normalize the number with scikit's learn minmaxscaler
scaler = MinMaxScaler(feature_range=(-1, 1... |
I'm trying to solve a homework problem and I'm not getting the answer I expect.
The problem is from Pattern Classification by Duda,Hart,Stork (problem 3.47)
Consider $\mathcal{D} = \left\{\begin{pmatrix}1\\1\end{pmatrix},\begin{pmatrix}3\\3\end{pmatrix},\begin{pmatrix}2\\*\end{pmatrix} \right\}$, sampled from a two-d... |
I have a situation where my AR(2) model has a lower AIC value (-98.49) than both the AR(1) (-75.84) and the AR(3) model (-92.91). As you can see, the difference in AIC between the AR(2) and the AR(3) is 5.58.
However, as I understand it, from the definition of the AIC, -2*LogLik+2*npar, it follows that the absolute di... |
I'm reading the Horseshoe prior regression paper which formulates regression like so:
$(y|\beta) \sim N(\beta, \sigma^2I)$
$(\beta_i|\lambda_i,\tau) \sim N(0, \lambda_i^2 \tau^2)$
$\lambda_i \sim C^{+}(0,1)$
where $C^{+}(0,1)$ is the half-Cauchy distribution.
In section 2.1 of the paper it says:
$E[\beta_i | y_i, \lamb... |
I have the following problem solved by my professor:
A company of high resistance painting products claims that, at the
most, 1% of its containers have a weight outside specification limits.
To investigate the plausibility of this assertion, a sample of n = 45
containers has been taken, which is such that only o... |
I am working with the HCUP NIS dataset and have aggregated 5 years of data (2009-2013) for analysis. I am interested in doing trend analysis by the year (percent mortality each year, etc) as well as analysis that spans all 5 years of data (overall percent mortality, etc).
Would it be correct to use the original survey ... |
I have a problem I am working on and I have data set up in the following way:
I wanted to test in flowers change their bloom size given the time of day, so I sampled random flowers in the morning and in the evening, measuring the diameter of their bloom. These measurements were separated into size bins, like <3cm, 4-6... |
Let us suppose we have continuous random variables $X \sim \mathrm{exp}(1)$ and discrete uniform random variable $Y \sim U(1,10)$. Generally, how could we compute the conditional distribution of $P(X|Y)$?
For example, how to compute $P(X-4 \le t|Y \ge 5)$?
If the case is good to compute, then if we take $Y\sim \mathrm{... |
A study wants to test the effectiveness of three types of drug on a person's weight. The regression model uses cell means coding with no intercept, and one categorical independent variable with 0-1 indicator dummy variable for each category. What should the X matrix look like? I'm guessing its dimension is n x 3, where... |
We are using few petabytes worth of time series astronomy data. The general aim is to find very faint periodic signals within it.
Our current method of processing this data is to do a Fast Fourier transform of the time series and look for peaks in the Fourier space. However, most of the periodic signals are false posi... |
Let $Z_t = \phi Z_{t-1} + u_t$ where $u_t \sim uniform[-1,1]$ and $|\phi|<1$ I
I am facing problems coming up with conditional maximum likelihood estimate of an AR(1) process with uniform errors. I want to compute the conditional maximum likelihood estimate of $\phi$. Specifically, I want to see how I can come up with... |
I have univariate time series data for 70 subjects sampled at 1000 Hz. When graphing the single subject plots, time is on the x-axis and amplitude (arbitarty unit) on the y-axis. When looking at the data, I'm seeing 3 "types" of subjects but there is no hard way of classifying the subjects. I want to use an unsupervise... |
I know this is fundamental. Please forgive me. I am new to R.
I ran the Scheffe post-hoc test after ANCOVA using "scheffe.test" from package "Agricolae". I got the following output:
> # Post-Hoc
> library(agricolae)
Warning message:
package ‘agricolae’ was built under R version 3.4.2
>
> # Qstorm ~ LandUse*Rainfa... |
Let $\theta = (\theta_1, \theta_2, \dots)$ be a vector of parameters, and let $L(\theta) = L(\theta|y)$ denote the likelihood function with respect to observed data $y$.
Following the notation from here, suppose $\delta = \theta_j$ is the parameter of interest, and let $\xi$ denote the other parameters, i.e. $\xi = \t... |
This might be a very basic question, but my textbook doesn't provide a satisfactory formula for how to calculate the probability for the Gamma function. Any help is appreciated.
$f(t,r) =$ {$\frac{1}{8}te^{\frac{-1}{2}(t+r)}$} for $t,r >0$ and 0 elsewhere
I'm asked to find the probability that $t,r >2$ and after a long... |
I'm still training my neural network for gender/age classification, and I'm currently experimenting with batch sizes along with everything else. As I've gathered, too small a batch size will lower accuracy, but too big a batch size and the gradient won't even form.
So, can I say that the recommened batch size is the cl... |
My partner and I were doing a basic least squares regression line on some dataset. We got an intercept and coefficient that were different, but our MSE on the test dataset was the same. Is this a thing?
For some reason I had always thought there was only one regression line that minimized MSE, but I guess I was wrong?
|
What is the use of Hidden layers in Neural Networks? How do we know the role of each hidden layer?
|
Under which condition is the likelihood also a probability distribution ?
|
I am trying to search for a set of images that are statistically independent (or have little correlation) with each other. I went on google images and picked out random images shown below thinking that they would be independent of each other:
However, when I input these images into MATLAB and compute the correlati... |
I have expected frequencies in each category as shown below:
So my initial data: category - and number of observation of it.
There are too many observations, this why:
As the sample size grows the null hypothesis will be rejected and the
p value goes to zero for any small but nonzero deviation from the null
hypo... |
I was performing Linear Regression which is based on E-Commerce Dataset. I was stuck with the following problem.
Assumption: In the dataset, I am taking store_purchase_event_count as a Dependent variable for predicting store_purchase_event_count using OLS Linear Regression.
Problem: I am trying to Normalize the Depende... |
I compare mean hounsfield units (HU) in two different levels of the spine (v1, v2) at two different time points (time1, time2) in 50 patients in R.
test data:
d1 <- data.frame(patient=c(1,2,3),v1_time1=c(50,50,50), v1_time2=c(48,48,48),v2_time1=c(45,45,45), v2_time2=c(30,29,27))
d1
patient v1_time1 v1_time2 v2_tim... |
I have the following problem:
The goal is, to find a model that classifies samples as risky, or less risky. However, only the risky samples are actually being manually investigated, i.e. labelled. Until now, a fixed model has been used for classifying samples into high risk and low risk, and then the ones deemed risky ... |
I am having a data set that is collected over a period from 1990 to 2005. In each year there are more than 25000 observations. Observations for a particular year are unique (i.e. Person A who appears in 1999 is not present in any other years). The dependent variable in binary.
I have constructed a logistic regression m... |
For a specific task of score fusion I need to test my data on some different normalization techniques like typical Z-normalization or Sigmoid-normalization. This is my first step to do.
For a second step I need to have comparable data in the same data range like from 0 to 1.
I would ask myself right now, if the followi... |
If my difference scores are not normally distributed - and I want to do a parametric paired t-test - do I:
log transform the the original scores and perform a paired t-test on these scores
log transform the difference scores and do a one sample t-test against a test value of 0
|
I've been implementing a VAE and I've noticed two different implementations online of the simplified univariate gaussian KL divergence. The original divergence as per here is
$$
KL_{loss}=\log(\frac{\sigma_2}{\sigma_1})+\frac{\sigma_1^2+(\mu_1-\mu_2)^2}{2\sigma^2_2}-\frac{1}{2}
$$
If we assume our prior is a unit gaus... |
Using drug dispensing data, I am trying to examine the association between proportion of days covered (PDC) by a drug and disease relapse. PDC is calculated by drug's supply divided by follow-up time. Events such as end of study and death are censored using Cox regression. Follow-up basically ends at disease relapse, d... |
I was trying to replicate an example from Knol et al (Knol 2012, Int J Epidemiol, Recommendations for presenting analyses of effect modification and interaction) but I dont get the same results as the authors, who give the following example data (part of table 2):
In the unexposed group (chronic disease score = 0) ther... |
I am an engineering student and I studied probability textbook by Sheldon Ross and Engineering Statistic by Montgomery. However, I need to know more about the mathematics of probability and statistics. More precisely, I am eager to know about measure theory, what is the relationship/differences between measure theory a... |
I am trying to log transform time series data of Inflation. However, there is one negative value. I have added the constant 1 to all my values and the log transformed.
loginfl <- log(infl_ts + 1)
Will this affect my analysis?
I am planning to tun predictions on this data.
|
I am working on an algorithm which tries to improve existing predictive model. The predictive model is associated with several objectives (such as accuracy or model size) that can be optimized. Let's say that the algorithm is guaranteed to improve or not deteriorate model size while keeping the accuracy unchanged. Ho... |
I have logs from a user's keyboard, mouse, and a few other things. I am trying to use them in order to do some predictions. Exploring the data and trying some feature engineering, I have discovered that the Hold Time (duration between when a key is pressed and released in milliseconds) seems very promising.
In order t... |
I have been reading about the r value and its purpose, however the below image has altered my understanding(that r value represents Direction and Strength and also Slope Angle).
The Wikipedia image below proves that Slope Angle cannot be determined from the r value at all.
My problem is that I cannot seem to produce a... |
Suppose, I'm doing a classification with two classes in $\mathbb{R^d}$. The true class-conditional probability distribution of two classes are multivariate Gaussian with mean $\mathbf{\mu_1}$ and $\mathbf{\mu_2}$ but same covariance $ \sigma^2 \mathbf{I}$. What will be the Bayes risk (error rate) of this Bayes classifi... |
I have been trying to implement following procedure:
1. Generate Hawkes process with parameters following SDE
$$d\lambda_t = \kappa (\lambda_\infty - \lambda_t)dt + \delta_1 dN_t $$
2.Estimate parameters of the realised arrival times using MLE
$$ ln(\mathcal{L}((N_t)_{t\in[0,T]}) = \int _0^T (1-\lambda(s))ds + \int _0... |
I am currently exploring Bayesian Neural Network application on timeseries and stumbled on pymc3 library. But don't exactly understand how can I use it on a timeseries data.
I am coming from a background of using statistical models:ARIMA, GARCH on timeseries.
To start I want to implement a simple Bayesian feed-forward... |
I want to set up a design for a conjoint-analysis with 5 Variables X1, X2, X3, X4, X5. All variables are factors.
X1 can have 5 different realisations, X2 can have 3, X3 can have 4, X4 can have 3 and X5 can have 2.
So there are 360 different combinations of the 5 variables.
I will have around 500 to 600 participants. E... |
Let $\mathbf{X}\sim \mathcal{N}(0,I)$ be an $n-$dimensional standard Gaussian vector. We know that
$$\begin{align}
||\mathbf{X}||^2&=\sum_{i=1}^nX_i^2\sim\chi^2_n\\
||\mathbf{X}||&=\sqrt{\sum_{i=1}^nX_i^2}\sim\chi_n\\
\end{align}$$
Suppose the components are correlated, i.e., we consider $\mathbf{Y}\sim \mathcal{N}(0,... |
I am using Gradient Boosting Decision Tree to do binary classification, the following is my code:
from sklearn.ensemble import GradientBoostingClassifier
import pandas as pd
data = pd.read_csv("../data/data.csv", header=0)
X = data.iloc[:,1:-1]
y = data.iloc[:,0]
gbdt = GradientBoostingClassifier(criterion='friedman... |
I cannot find out how the variable importance for classification problems is calculated in h2o. There is a Stackoverflow question asking the same, but the accepted answer does not help (keeps referring to "squared error" where I would expect "accuracy" or "gini impurity" being used; same for the linked paper in that SO... |
I have created a Spearman correlation matrix for 6 variables (A1,..A6) to evaluate their relationships. I have thus obtained 15 p-values:
pvals = c(0.00316, 0.0038, 2.0e-15, 0.31, 0.58, 0.55, 0.37, 0.81, 0.93, 0.29, 0.0157, 0.007, 0.0049, 0.98, 0.041)
I am more worried in losing any of the positive correlations rathe... |
What is the best way to maximize a payoff based on a binary decision with using a neural network?
I understand that with a binary cross-entropy loss function I can bring a network with a sigmoid output function to make the right binary decision. But when each of the decision in the sample may have a different payoff, h... |
Kindly need your advice on this important aspect.
I am running the logistic regression and testing the effect of a moderator variable on another indp.variable. As highlighted in 'red' the moderator is causing a very big change in p-value as well as 'B' of the indp variable 'prev_business_exp" so I am little bit conce... |
Suppose that I have a set of accelerometer data collected with one sensor and one label for each measured data point. These labels describe different states of my system e.g., $state_A, state_B, state_C$, etc., and I want to use this information to train a classifier to recognize these states mentioned earlier.
Now, l... |
I am wondering what is the $E[\textbf{a}\cdot \textbf{b}]$ and $var[\textbf{a}\cdot \textbf{b}]$
where $\textbf{a}, \textbf{b}$ are independent random vectors. That is as a vector whose elements are random variables. There are n elemetns in the vector. Each element in vector is assumed to be random sample from a normal... |
I am using a four-factor (moral orientations) scale (validated in previous research) to predict an outcome (moral violation perceptions) which is a latent variable, measured by four indicator(see attached for my model diagram). Each of the four factors is made up of 7 items (indicators). I want to test a model where e... |
Scenario: You sample a number of observations (say, 20) from a multivariate normal distribution of, say, 3 variables. The variables will typically be positively intercorrelated, but little else is known about them. You compute the sample means and standard deviations of each variable. Using these, you construct an inte... |
I am reading an article on a nonparametric Bayesian model for survival analysis with competing risks, which can be used for jointly assessing a patient’s risk of multiple (competing) adverse outcomes.
Let $D=\{X_i,T_i,k_i\}_{i=1}^n, X_i\in\chi$, a d-dimensional vector of covariates associated with subject $i$, $T_i\in\... |
In my current experiment, I designed a 2 x 2 repeated measures factorial design.
Suppose that first condition has levels of (a / b), and the second condition has levels of (1 / 2). Thus, my factorial design has four groups (a1, a2, b1, b2). When I ran a statistical test, there were main effects of both conditions but n... |
Suppose that I have a multivariate normal distribution such that:
$$
\mathbf{X} \sim \mathcal{N}\left(\mathbf{0}, \Sigma \right)
$$
where $\mathbf{X}$ is an $n \times 1$ vector and
I am wondering how I can generate uniform random variables that are correlated based on this. Would it as simple as taking $\mathbf{X}$ ve... |
I'm about 5 minutes in to learning about machine learning (using the Tensorflow MNIST tutorial) and have already managed to confuse myself. No big surprise there. But Google isn't giving me any good answers, so I was hoping someone here could.
Why does training this example model in multiple smaller batches produce s... |
We are trying to do a randomized controlled trial on patients. For a certain diseases patients, we want to know whether or not intervention improves their quality of life or not. We're dividing the patients into two groups: one receive the traditional method, other receives the intervention where their vitals and labs ... |
I am a little confused on incorporating parameter restrictions in the Bayesian linear regression setup.
Assume the multivariate regression
$$R = \iota\alpha+X\beta+U_R$$
where $R$ is a $T \times N$ matrix, $\alpha$ is the $N$ vector of intercept terms, $\iota$ is a vector of ones and $\beta$ is a $N \times K$ matrix of... |
I've been exploring a number of tools for forecasting, and have found Generalized Additive Models (GAMs) to have the most potential for this purpose. GAMs are great! They allow for complex models to be specified very succinctly. However, that same succinctness is causing me some confusion, specifically in regard to how... |
What are some guidelines for choosing weakly informative priors in a Bayesian ordinal regression? Consider the following model from the Stan manual (version 2.17.0, section 9.8, page 138):
data {
int<lower=2> K;
int<lower=0> N;
int<lower=1> D;
int<lower=1,upper=K> y[N];
row_vector[D] x[N];
}
parameters {
... |
What happens if we flip the arrows in a Naive Bayes classifier?
To clarify - from what I have found naive Bayes is defined for the following network structure:
I'm interested to understand what happens if instead from y->x the child will be y. As shown in the following:
I'm not entirely sure if we get the same resul... |
People talk about how neural network should learn "disentangled representation" rather than "distributed representation" so that a deep learning model is more interpretable and understandable. What are the definition of these two terms and any particular example?
|
Say I run k-fold cross validation with a number of different regression methods in an effort to determine which method is best for my data. At the end of running cross validation, I have RMSECVs for each method and for some of the methods the RMSECVs are very similar - close enough that I don't think there's a meaningf... |
I'm analysing a time series with the aim of assessing the presence of significant break points, using R package strucchange (v. 1.5-1).
The number of break points considered for interpretation should be based on the BIC.
bi <- data.frame( one=c(-291.646215, -352.906441, -203.847738, -265.890719, -239.569567, -115.73034... |
Let me start out by saying I'm somewhat of a novice at statistics. I've had some formal training but it was rather patchy, and I'm aware I'm ignorant of many key concepts. I'm having to "learn on the job", as it were.
I have a linear model that looks like this:
$$y = A_0 + A_1x_1 + A_2x_2$$
Where $A_0$, $A_1$, and $A_2... |
I have a question on diagonal LDA in the book "Elements of statistical learning" by Hastie, Tibshirani et al.
On page 652, it says
The discriminant score of the diagonal-covariance LDA for class $k$ is $$ \delta_{k}(x)= - \sum_{j=1}^{p} \dfrac{(x_{j}-\bar{x}_{kj})^{2}}{s_{j}^{2}} + 2 \log \pi_{k}, $$ [see (4.12) on... |
I am conducting a 2-way (i.e., memory type x simulation type, 2x3) rANOVA within subjects. Both memory type and simulation type are categorical variables; the DV is continuous. Both the main effects of memory type and simulation type are significant, as is the interaction term. However, when I look at the simple effect... |
I am looking at a demand forecasting tool which is considered an industry standard in the retail domain, and it offers several forecasting methods, most of which are some variation of Exponential Smoothing. It doesn't offer (or even mention) ARIMA at all, which surprises me, given how important ARIMA seems to be, based... |
I have a dataset of ~31000 8k-filings (ad-hoc announcements from companies listed on the stock exchange). Every document consists of a string (the actual filing, stemmed and stopwords removed) and a few metadata-features i constructed, i.e. readability measures, number of words, number of adjectives per word and a list... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.