instruction stringlengths 9 38.7k |
|---|
I am trying to integrate spatial and temporal autocorrelation to my GAMM model using packages mgcv and nlme. The following code runs, but I do not know, how to interpret the “s(x, y)” command results. Can anyone explain it to me in a simple way?
I believe this should take account coordinates in my model. The model co... |
I have a correlation between two dimensions $A$ and $B$, each dimension has 1 variable $i$ with $j$ samples. $A_i$ and $B_i$ (Let's call it $r_{Di}$). I also have a correlation of $A_i$ with another variable $C_i$ (Let's say $r_{Ei}$). For each correlation I calculate the $p$-value. For these 2 correlations, I do the c... |
This might be a simple question (I'm sure it is), but it's also my first here, so please go easy...on the other hand I'm possibly conflating a few points...
I'm helping a charity out, and have a bundle of result sets from various campaigns - individuals responding to an email message. I can't see the underlying data, b... |
I'm studying in R a way to generate synthetic data starting from real world data and, in particular, I'm focusing on the year 2008 of the "Household power consumption" dataset (free to download at UCI Machine Learning Repository).
My problem is that the synthetic data are far from real data and I'm can't understand wh... |
I have a small imbalanced sample of 18 and 12 records in 0-labeled and 1-labeled groups respectively with 6 features, so the size of my feature matrix X is $30 \times 6$ and y is my target vector $30 \times 1$.
The data in CSV format is shared via the dropbox link:
THE PROBLEM
I would like to assess my classification a... |
$\newcommand{\P}{\mathbb{P}}$$\newcommand{\E}{\mathbb{E}}$In proving that $X \bot A | ps(x)$ where $X$ denote the baseline covariates, $A$ is binary denoted the Treatment/Exposure and $ps(x)$ denotes the propensity score based on $X$.
I do not understand a part of the proof.
The first part was to prove:
\begin{equat... |
What is the best way to know if recent time series data is abnormally different from the historic data, consider this:
The data just beyond Nov 15 looks like it has shifted low - but what techniques can tell me if this shift is abnormal..?
I'm currently using Changepoint detection in R from the changepoint package - b... |
In my dataset, I have five (ordinal) groups with an x-amount of measurement. Because homoscedasticity is violated, I performed the Friedman chi-square test to see if there are any statistical differences between the groups:
fried = stats.friedmanchisquare(*[grp for idx, grp in df.iteritems()]))
This returned a statist... |
I'm having a problem with choosing between Pearson and Spearman correlation. I'd like to understand clearly why I should use one or the other. I have read the questions already asked here about this subject, but I am still confused, plsease if someone can help:
The kind of data I'll correlate: I will have an abundance ... |
I am working on clustering some time series and have decided to try to cluster based on features rather than the raw series (for now). I found this paper by Hyndman that chooses a series of features (serial correlation, non-linearity, skewness, kurtosis, periodicity) and discusses some of the algorithms used for cluste... |
I'm learning about bootstrapping as a means of estimating the variance of a sample statistic. I have one basic doubt.
Quoting from http://web.stanford.edu/class/psych252/tutorials/doBootstrapPrimer.pdf:
• How many observations should we resample? A good suggestion is the original sample size.
How can we resample as m... |
I teach an intro statistics class at my university (as a graduate student) and I was scouring the internet for interesting graphs on the history of linear regression when I came upon this picture, presumably from a paper that Pearson once wrote:
I was brainstorming ways to explain to my class why linear regression is ... |
I am concerned about the following issue.
One big problem in OLS regression is omitted variable bias, which is normally reflected with explanatory variables being collinear with the error term.
Now, I am modelling a VAR-Model with lag length $p=3$ and 6 variables. The model is stable and there is no autocorrelation in... |
I am writing a short theoretical essay for a Bayesian Statistics course (in an Economics M.Sc.) on uninformative priors and I am trying to understand which are the steps in the development of this theory.
By now, my timeline is made three main steps: Laplace's indifference principle (1812), Non-Invariant priors (Jeffre... |
Let $X$ be a $n\times p$ matrix, $y_{n\times 1}$ a vector and $B_{p\times 1}$ coefficients so that $y=XB$. Then what is the derivative of
$$
(y-XB)' h(y-XB)
$$
with respect to B, where $h(.)$ is an $R^n\rightarrow R^n$ differentiable function e.g. ($h(z)=z$) and $(')$ is the transpose of a matrix?
|
I am doing a data science practice project, seeing if there is any correlation between crime and moon phase.
I have created some frequency tables of crime numbers along with moon phase and it looks like there is no relationship, but how do I show this statistically?
Here is a summary of all the data with moon phase fro... |
We have developed a simulation in Stata that generates datasets of normally distributed variables with correlations that we set. We then run regressions using these datasets. We are interested in generating datasets with non-normally distributed variables with fixed correlations that we set.
Does anyone have any advic... |
I am dealing with an $n$-dimensional random variable $\hat{P}$ for which I know that
$$\sqrt{n}(\hat{P}-P) \to^d \mathcal{N}(\mathbf{0},\Sigma).$$
I could also estimate the covariance matrix, $\Sigma$. I am wondering if this information could help me define regions of confidence for the "mean" $P$, as one would do usin... |
Here is a little brainteaser:
Suppose we know $x|(\mu,\sigma^2) \sim N(\mu, \sigma^2)$ and that $\sigma^2$ can either take on the value 1 or 2 on any particular draw from the distribution (i.e., there is a 50/50 chance that it will be 1 or 2). The goal is to construct a confidence interval with exactly 95% coverage for... |
I have created a histogram of velocities for thousands of moving objects. I have bin sizes of 1 based on object weight. So bins 1-20, for weight 1gram to 20 grams. So that's the "x-axis".
The y-axis, or height of the bins is based on averages of velocities for these objects. I take all the 1 gram objects and find their... |
So, I have macroeconomic data, for multiple countries. I want for year t, to predict select (continuous) variables for time period t+1. I wrote a simple keras model to do that:
def dense_gradient_model(X_train, y_train, epochs=5000):
print X_train.shape, y_train.shape
n_samples, n_timesteps, n_feat = X_train.sh... |
I just completed watching the Particle Swarm Optimization Video Tutorial, and I was wondering how to next apply this to a new set of data for which I want to optimize.
Let's say, for example I want to build a (crude) model for predicting security prices. Let's say my objective function that I want to optimize is the S... |
In preparing for a research study I'm unsure about how many levels to plan on including my my model. This is research in an educational setting so multilevel modeling fits (the data are nested). My question is whether or not to differentiate between a classroom, teacher, or school in the model.
I will have students in ... |
This is a follow up to this question on this site.
Let's say I'm doing a Logistic Regression with 2 Independent Variables (IVs). One IV is ordinal and named AGE, and the other is categorical and named SERVICE with 3 categories: A, B and C.
Let's say I get the following result:
Scenario 1:
Analysis of Deviance Table (T... |
I want to correlate one sample to a set of classes' centroids (i.e. for each class, the sample composed by the median value of each feature in the set of samples of the class) to understand which class the sample is most correlated with.
However, I noticed that the sample I want to correlate is a sparse array, i.e. mos... |
I'm trying to fit a parametric survival model, Exponential, Weibull, Log-normal, Log-logistic. Now I need to use the residuals and hypothesis test to choice the best model for the data. My doubt is:
How I can use the residuals (Cox Snell, Martingal and Deviance) to choice the right model?
What more I can use to check t... |
I am struggling with the following question, as illustrated as well per below. I have a prior multivariate distribution, with correlation between the variables. I have obtained additional data on one variable. I would like to use the information to update my prior distribution.
I am struggling on what the best and mos... |
We are facing a study where participants are to be followed longitudinally for a sensitive self-report question. Efforts were made to establish trust with participants, but part of the data collection specifies that an objective biomarker for the self-report (drug test) would be collected at random.
We are facing a few... |
i randomly split my data into training and test sets.
then using the training set, i construct an overfitting classification tree with 10-fold cross-validation. i.e.
xval=10
and prune it (with prune.rpart()) according to the
cptable$CP
that corresponds to
min(cptable$xerror)
then i predict classes for the test ... |
I was just wondering what the posterior distribution would be for a prior density belonging to the beta family i.e. having a beta density and the likelihood function being the likelihood function of the Hardy Weinberg equilibrium.
|
I've got this data.frame (framingham)
sex sbp bmi
1 female 130 24.0
2 male 126 29.0
3 female 146 26.6
4 male 116 20.8
5 female 100 20.9
6 female 128 26.8
that I splitted into framinghamMales and framinghamFemales:
> head(framinghamMales)
sex sbp bmi
2 male 126 29.0
4 male 116 20.8
7 male 115 ... |
Why am I getting the following error when I try random generation for the gamma distribution?
The code I am trying to run:
rgamma <- (n = 500, shape>= 1, scale = 1)
This is the error I get :
Error: unexpected ',' in "rgamma <- (n = 500,"
|
I'm trying to fit parametric survival models for a data that I have, and I don't know how to get the Cox Snell residuals in R.
An example of dataset with Exponential model fitted
install.packages("survival")
library(survival)
data(lung)
fit<-survreg(Surv(time,status)~age+as.factor(sex)+ph.karno,na.action = "na.omit",
... |
Say you have data that looks like the left plot, where $Y$ is the response and $X$ is the covariate. The right plot is after $log_2$ transformation of $X$ and $Y$, which seems to look better, so let's model the right plot instead.
It looks almost like you could use simple linear regression, perhaps on the minimum of $... |
we hav $X_1, X_2,...X_{100}$ i.i.d. Poisson with an expected value of one. We need to find an approximation to the probability that the sum is bigger than 85. The correct answer is 0.93319.
So i tried this: I know that the sum of Poisson is a Poisson(100) but the problem is that you have to solve this problem with tab... |
Question 1) Why does Adaboost with a weak learner (decision stumps) perform better than a strong learner (decision tree). I implemented codes for these myself, but the accuracies were so close that the significance of the comparison was not convincing. Question 2) Why is it that Adaboost accuracy depends on the number ... |
I am trying to assert that that the trace of the covariance of OLS is more than that of ridge regression to argue why the variance of OLS is more than the variance of ridge:
$$
\frac{1}{n} (X\beta+\varepsilon)'M(X\beta+\varepsilon) = \frac{1}{n} (\varepsilon M \varepsilon'),
$$
by using that $X'M = MX = 0$ (orthogonal... |
I have two groups:
Group 1, I ask them how willin to start once monthly pill and mark their response between 1-10.
Group 2, I first ask them how willin once daily pill, then I ask them once monthly.
I want to compare: How willin would subjects be to start a once monthly pill for hypertension between the two groups. ... |
I'm doing a survey-based research design and I have EFA factor score for variables I want to use as both dependent variables and independent variables. I've read on some other forum saying that one CANNOT use a factor score as a dependent variable. Is that the case? Or it really depends on how established the theory is... |
I have a data set where the probability for player 1 win is given, and also 4 different outcomes which are possible (2:0, 2:1, 1:2, 0:2) Where the first 2 is Player 1 won, and the other 2 is player 2 won.
I have calculated the proportion of the different outcomes for different probabilities for different values of Pla... |
Assume we train a binary classification model using the training set. Also assume that the model returns an estimate of the probability of success $\hat f(x)$ for every feature vector $x$ and was trained with "an intent of" minimizing out of sample cross-entropy error (maximizing likelihood). Moreover, assume we actual... |
What is the standard procedure to test equivalence (not difference) between two survival curves? Is it available in R?
One way, I think, would be to calculate the 90% confidence interval for the hazard ratio and see if it lies within the equivalence region ($\delta_{low}$, $\delta_{upp}$). Would it be correct? Is it th... |
I am running a customer churn predictive model in r. My confusion is when I try different combinations of variables I.e. Removing some from the model, I get completely different results in terms of roc,Auc and precision etc.
Do I just select the variables that give me the best results in terms of Auc,roc? My issue wit... |
I have identified the points of forest loss (lat-long), these points are categorized by year (like 2001, 2002 etc.). I have created another raster that has pixel values of distance from the nearest road. Created another such raster for the market where forest wood is sold. I see that there is a relationship among them ... |
I am looking to design a Bayesian multilevel Proportional Odds model, which incorporates the use of survey weights in JAGS.
The inclusion of weights for linear and Poisson models appears straightforward, however I suspect the process is a more complicated procedure for a Proportional Odds model.
Linear: y[i] ~ dnorm(mu... |
As a relative new arrival to realm of machine learning, I was curious as to what the intuition behind the ability of neural networks to form more complex non-linear hypotheses than typical logistic regression algorithms was.
I see that in order to produce a complex output for a logistic regression function with a large... |
My thesis has calculations that use one-way ANOVA. There are 40 dependent variables which are needed to be compared under 14 independent variables and each variable has at least 3 groups. As you can see comparing all the DVs under different IVs would need lots of comparisons and for writing ANOVA results a particular... |
Whenever the particle filter is derived (I used a different condition for $u_t$ as a solution to the nonlinear filtering problem;
$x_{t+1} \mid x_t \sim f_{\theta}(x_{t+1} \mid x_t,u_t) \\
y_{t} \mid x_t \sim g_{\theta}(y_{t} \mid x_t,u_t) \\
\theta \sim \mathbb{P}(\theta) \text{ - Just some initial parameter densit... |
In Generalized Linear Models the conditional distribution of the response variable has to belong to the exponential family. Why is this restriction important? What property would a regression model lose if we chose a distribution outside the exponential family?
|
Can someone explain how to find out the Maximum Likelihood and Maximum A Posteriori Estimate for a Poisson distribution with mean $\lambda$ ?
I did the calculation for the MLE as follows:
The probability mass function is: $$f(y;\lambda) = \frac{\lambda^y e^{-\lambda}}{y!}$$
Assume we have only one observation $y$. This... |
I have time series data for two and half year. I am performing xgb.cv (from Jan 2014 to March 2016) and its giving very good result, but when I am using new data (April 2016 to June 2016) to predict, the accuracy is getting worse. I am using R xgboost package. Any suggestion on improving accuracy?
|
The typical way of performing state simulations using matrices is to perform the following kind of calculation:
$$x_{(k+1)}=Ax_{(k)}$$
However,
When the transition matrix $A$ is defined in the following way for example:
$$
\begin{array}{r|lll}
& \rlap{\text{next state}} \\
\text{current state} & 1 & 2 & 3 \\
... |
I have a $X_1$,$X_2$,...,$X_n$ sequence of binary random interchangeable variables. Given $\theta$*=$\theta$, $X_1$,$X_2$,...,$X_n$ $\thicksim$ iid Ber($\theta$)
With a prior distribution $\pi$($\theta$)=Beta($\theta$).
Thus, I have a posterior distribution $\pi$($\theta$|x)$\propto$Beta($\alpha$+r,$\beta$+n-r)
E($\the... |
Why should the second PCA vector i.e. vector with largest variance in reduced subspace be orthogonal to the first PCA vector?
|
I was reading Hinton's slides about recurrent networks (link), and he says that the initial state of the network should be learned just like the weights (slide 14). If that's the case, how would we handle the unknown initial state during test time?
Additionally, in the "Learning Precise Timing with LSTM" paper by Gers,... |
I know that Bayesian and frequentist approaches differ in their definition of probability.
Practically, in machine learning a model is a formula with tunable parameters.
Then the difference between Bayesian and frequentist is:
That the parameters are assumed to be fixed numbers in frequentist setting and the parameters... |
I am having trouble understanding multinomial regression, aka softmax regression, multinomial logit regression, discrete-choice modeling, etc.
My main confusion comes from thinking about two separate cases of multinomial regression - perhaps one is not in this case.
From what I understand, multinomial regression can be... |
The shorter version:
1. Bayesian graphical models are new to me.
2. I want to use R to model spatial variation in county level crime using a BGN. I have been working with bnlearn, and would ideally like to continue using bnlearn.
3. My data is hierarchical, such that county level variables are nested in state level v... |
My question concerns the interpretation of interaction in ols vs logistic regression.
Let us imagine that I have two independent variables, $y_{1}$ is the probability of watching TV at least once a day and $y_{2}$ the time in minutes of TV watching
I have two explanatory (categorical) variables : Female (0-1) and Yea... |
Consider a student dataset with parameters grades (GPA), do they have a computer (COMP), and if yes, how old (AGE), and other parameters (ETC).
I want to measure the effect of having a computer on the GPA, but also, the age of the computer that you use. If my linear regression model is:
GPA = COMP + AGE + ETC
Then, w... |
I'm currently at a loss. I want to make a model that predicts when content providers aren't going to update anymore, but I'm having trouble finding a model that allows me to capture what I want. To explain, let me introduce my problem as a case of beeping boxes.
Scenario:
Imagine you have a number of red, blue, and gre... |
I'm doing data analysis for my first hypothesis testing in a research proposal for an introductory psychology research methods course and would like some advice on which statistical tests to use.
I'm not sure whether to use two-factor ANOVA, multiple regression, Pearson's R, a combination of both, or something else... ... |
I am studying Pevsner's Bioinformatics.
It is stated that Logs-Odds Scoring Matrix is symmetric at page 89.
But with given the equation to calculate the cells of the matrix, I find different scores for from cysteine to leucine and for from leucine to cysteine.
How is this possible?
Do we take the lowest value?
|
I would like to know if its possible to measure distance among vectors that contain positive and negative values such in this example :
c1 c2 c3 c4 c5 c6
V1 [-1.62 -0.60 -0.44 -0.97 -0.70 -0.26]
V2 [-0.46 -0.84 -0.30 1.00 0.35 0.6 ]
V3.. etc
where :-
Vi which ha... |
I want to estimate two models, Vector Autoregression (VAR) and Vector Error Correction Model (VECM).
What is the correct way to choose lag length / lag order?
For the VAR model, I have selected the lag ($p=4$) using:
variables at first difference
statistical criterion AIC
no evidence of autocorrelation or heteros... |
I have a population who I separated into three groups: low, medium, high exposure. I calculated the standard mortality ratios (SMRs) for each of this group using a standard population. One of my mentors asked me to do some type of statistical test comparing SMRs in the low versus medium, and low versus high exposure ca... |
I use R and the auto.arima function for time series analysis. My data is here. Some are nonstationary, and with an apparent seasonal component. Plots of the data show trend and seasonality.
The code snippet:
library(tseries)
library(forecast)
t <- read.csv("tovar_moving_w.csv",header=TRUE, sep=";",dec=",")
tts<-ts(t$q... |
I have 12 runs of thermal data that each generate a matrix. I've added noise to my systematic data to simulate my detector. My output for each of these is a 500x500 matrix where the vertical axis is my x1, the horizontal my x2, and the data within the matrices are y-values corresponding to a function based on x1 and x2... |
I am using Python statsmodels module, and doing ANOVA on a linear model.
The data source is http://www.scipy-lectures.org/_downloads/brain_size.csv.
There are 40 samples, and the data has features: Gender, FSIQ, VIQ, PIQ, Weight, Height and MRI_Count. Gender is a categorical variable; VIQ, PIQ and Weight are nume... |
My IV variable is leader's qualities (with five categories) and my DV is school climate (with 6 categories). I would like to test whether my IV variable (with five categories) has an influenced on my DV (with 6 categories). I am thinking of using standard linear multiple regression. But multiple regression in SPSS can ... |
I am going through the derivation of neural network using this lecture pdf
And I am stuck on equation $(21)$
Note on notation:
Activation function of layer $j$ is $y_j$
Summation of weights of layer $j$ is $x_j$
final label is $t$
I am trying to figure out where
$$\eta \Delta w_{kj} (n-1)$$
is coming from in the f... |
I have a theoretical model to test against some data (grey line in figure). I perform 20 measurements of my data, with 10 points per measurement (red points spread over the x-axis). I want to compute the reduced chi square value for themedian value of my data against the model.
Not sure how I should accomplish this, ca... |
How to calculate the D-efficiency of experimental designs in conjoint analysis?
Specifically, how do you specify the $X$ and the number of $nBetas$ in this formula:
$$
D_e=\frac{|X'X|^{1/nBetas}}{nSets}
$$
This question addresses the calculation of D-efficiency for simple experimental designs, but I don't fully underst... |
For an F(2, 237) distribution, how should I determine a critical F value from a statistical table? Would I look up (2, 150) or (2, 300)? Should it simply be the closest degrees of freedom?
|
After a year in grad school, my understanding of "weighted least squares" is the following: let $\mathbf{y} \in \mathbb{R}^n$, $\mathbf{X}$ be some $n \times p$ design matrix, $\boldsymbol\beta \in \mathbb{R}^p$ be a parameter vector, $\boldsymbol\epsilon \in \mathbb{R}^n$ be an error vector such that $\boldsymbol\epsi... |
I've been using cross_val_score in the Scikit-Learn package, along with Pandas dataframes and Numpy to find a 5 fold cross validation error for training a Linear Regression model on a sample data. However, I am also required to run this in combination with Best Feature Subset selection for Linear regression using Backw... |
I am trying to understand what it means for random variables to be (unconditionally) independent but conditionally dependent. Let $(X,Y,Z)$ be a set of three random variables. I understand the usual example of coin flips: $X$ is Bernoulli representing one coin, $Y$ is Bernoulli representing another coin, and $Z = X+ Y$... |
I am attempting to construct a teachable example of Gibbs sampling that I can also relate to how it might be used on an actual dataset and yet could also be verified analytically by students with minimal probability education. Do you know of an example with these qualities?
One that I have been considering is the examp... |
I am very interested to understand the motivation behind why are we using these priors let's say in the context of regression. I know that the kernel depicts the distance between the points or let's say by how much nearby function values are correlated and that this is governed by the parameters of the kernel.
But what... |
This is the simple grid world problem. I am new to Machine/Reinforcement learning so I need help to understand this better. I need to implement Q-learning with epsilon-greedy action with $epsilon = 0.2, p = 0.8, alpha = 0.1$, and the grid world of size 50 by 50.
|
I was wondering:
if $X \sim N(0,1)$ then
$P=\exp(x)$ is lognormally distributed.
However, what is the distribution of
$P=c\exp(x)-d$
Will it still be lognormally distributed?
|
I want to test whether two predicted values of y for a given value of x1 (a continuous variable) at two different levels of x2 (a continuous variable) are significantly different from each other.
I have a significant interaction of x1 and x2 predicting y. Below I plot the interaction effect, showing the effect of x1 o... |
I want to use ordinary least squares to fit a cubic spline. I'm having a difficult time creating the design matrix for the ordinary least squares. Here is my problem:
x ~ Uniform(-pi, +pi)
y|x ~ (sin(x), (0.5|x| + 0.5)^2))
The code below is what I am currently using, but I do not want to use the function ns, I want to... |
I was reading the paper Deep Residual Learning for Image Recognition and I had difficulties understanding with 100% certainty what a residual block entails computationally. Reading their paper they have figure 2:
which illustrates what a Residual Block is suppose to be. Is the computation of a residual block simply th... |
I have 100 observations across time for 200 units. I have 1 continuous dependent variable and 5 independent variables. Can I do quantile regression for this panel dataset? If yes, what are my options for software use? I have some experience using R but I am open to other options also.
|
I have been reading this paper studying the interaction of fishes.
There are two fishes, whose positions over time are given. This means that we can compute for the velocity (vector) for each time step. (Speed with direction.)
Here is an excerpt from the paper:
"The orientation correlation is then computed by taking... |
The Context
I am trying to make a comparison between two models in theoretical
physics:
Model $A$ is a theoretically exact means of calculating a function
$f(x)$, where $x$ is a continuous variable. This model depends only on a physical quantity $\alpha$. If one knows $\alpha$, one can calculate an exact $f(x;\alpha)$... |
I am actually lost on how to get the answer for this question:
Consider the random variables X~N (0,2) and Y~N (1,4). Define the random variable W= 4X-6Y+3. Obtain E(W), and assuming independence obtain V(W).
What does the X~N symbolize? Is it the range in the normal distribution curve?
Hope you can help me with this
T... |
I have the below equation:
Y' = Y + β Y1 + β^2 Y2 + β^3 Y3
This is time-series data where
Y' = prediction year
Y = latest year (most current data available)
Y1 = Y - 1
Y2 = Y - 2
Y3 = Y - 3
Formulation of problem statement:
We don't have data for Y'. To train β, we have taken Y1, Y2, Y3 as training vector. Y as resu... |
I want to confirm that regarding Auto-Regressive Distributed Lag model used for time series all variables must be stationary at level or at 1st difference and no variable should be at 2nd difference.
Now my d.v and main i.v are stationery at level. However, I have 4 other control variables/explanatory 3 of them are st... |
I've just begun learning about the bootstrap method and I'm not entirely sure that I've understood this perfectly right. The way that I have interpreted what my book says is that when we don't have enough data or can't recreate/replicate exact data which we have had previously we simply randomise new data based on the ... |
I'm trying to simulate survival times from Weibull(or lognormal) distribution with parameters (shape,scale) including (?%) of right-censored observations.I need to obtain observations of a variable, which include some percentage of right-censored data.
|
I have one question regarding the estimation of an unknown variable.
Is there any way of estimating the value of a variable when you know its probability distribution?
In this case I have a variable which is distributed on the interval (1, 2), with a 25% probability of 2, and uniformly distributed otherwise.
|
Considering the data set given below
Here if we have to classify new data point:
D15 (O=Overcast, T=Cool, H=High, W=Strong)
Then for P(No|Overcast, Cool, High, Strong)
we have,
(5/14) * 0 * (1/5) * (4/5) * (3/5)
This results to 0
So I read that this situation needs smoothing. But what I couldn't figure out is why do w... |
I have some data measured on a continuous scale. The data have been collected from the same subjects and I want to look for correlation between two dependent variables. The data are not normally distributed.
A cursory look at the raw data suggests correlation, but when I generate a scatter plot I get the following:
... |
Given 5 significant correlation coefficients:
A phi correlation coefficient $\phi$
A point-biserial correlation coefficient $r_{pb}$
A rank-biserial correlation coeffcient $r_{rb}$
A Goodman & Kruskal Gamma correlation coefficient $G$
A Pearson product moment correlation coefficient $r$
All of them lie in $\left[-1,1... |
I'm calculating DCC between S&P500 and US 10-year bond index in R.
However the results are in the unexpected sign. For example, as published by many, DCC between S&P500 and 10-year bond index is positive in 1990s and became negative for a while in 1997 (e.g. Chen(2009) on page 43 http://eprints.lse.ac.uk/29306/1/Regime... |
I’ve been using glmmADMB to fit zero-inflated negative binomial models with a random effect (as far as I can tell, this is the only package that will allow me to do this). I have been trying to do diagnostics of these models, in addition to looking at diagnostic plots. Here are my specific questions:
1) The residual... |
I am struggling to understand how to interpret the output from my mlogit model. I am working with a dataset that is looking at where someone will get a tattoo (location, reference level = foot) depending on their age (continuous), sex (female or male), and year (2006 to 2015).
Running logistic regression in R I get the... |
Re-posting this from scicomp based on recommendation in the comments.
(I'm a total ML noob, apologies if I've worded things badly, used the wrong terms or posted in the wrong SE site!)
I've been watching Magnus Erik Hvass Pederson's Tensorflow tutorials on YouTube.
One of the things I was previously confused about was ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.