Questions tagged [test-for-trend]

The tag has no usage guidance.

44 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
37 views

Simple trend analysis with unbalanced & short panel data

I have the following (unbalanced) panel data: yearly sustainability ratings (ESG) of ca. 2000 individual firms over a 11-year period. The average observations per firm only covers 5.3 periods. These ...
3
votes
1answer
43 views

Is there a method to disentangle multiple lines of data that are intermingled?

I have 3 temperature sensors that record data once a minute. All 3 temperatures have the tuple value (instant, temperature). The problem is, they may come in a random order and thus there's no way to ...
2
votes
0answers
89 views

Looking at trend in count data

I have a clinic dataset with count data collected on a monthly basis from January 2013 - May 2018. There are 20+ variables. Almost all of them are "number of patients who accepted xyz treatment" in [...
2
votes
0answers
50 views

Nonparametric test for difference in trends?

I have an experiment where two groups of individuals get some variable repeatedly measured at regular intervals. I'd like to know if one group is trending faster or slower than the other (and in what ...
2
votes
1answer
82 views

unit root tests: trend included for bounded series

X lies in a 0,100 interval and i want to check if X has a unit root. In (A)DF, and PP unit root tests one can have an intercept and/or a trend (in addition to the level and difference X lags). But ...
2
votes
0answers
304 views

Trend analysis for change in multivariate distribution over time

At each time point, I have a multivariate distribution $x=[x_1,x_2,x_3]$. I don't have that many time points around 3-15. I would like to know whether the change of the distribution over the time is ...
2
votes
0answers
3k views

How to perform a test for trend on an ordinal variable in logistic regression?

I have a dichotomous outcome (gallstones/no gallstones) and an ordinal predictor variable consisting of four classes (body mass index <25(ref.), 25-30, 30-35, 35-45). I want to perform a test for ...
2
votes
0answers
748 views

Equivalence of p-values from Jonckheere-Terpstra test and Kendall's tau

I'm using the Jonckheere-Terpstra test to confirm whether an interval variable, distributed across five levels of an ordinal variable, display a significant trend. I'm using the clinfun package, ...
2
votes
0answers
536 views

What is a “Wald test for trend?”

I am reviewing a manuscript and the authors state that some results are by a "Wald test for trend". Has anyone heard of this? I hadn't, and Google revealed nothing. I know I always say to provide ...
2
votes
0answers
34 views

what test for analysing level of agreement of users perception on species population trends from ordinal categorical data

This is my first post ever so I beg you please forgive me any mistake (I'm also super newbie in stats). I have this dataset that comes from interviews filled by users (divers) about their perception ...
1
vote
0answers
12 views

Test for trend across ordinal categories: which test to use?

I want to test for a trend in a continuous (non-normal) response variable across ordinal categories. I came across multiple test that seem suitable for this problem. Particularly, the R package ...
1
vote
0answers
8 views

Modeling and testing for trends in hospital-surveillance (count, event) data

Intro Hi all, I'm working with hospital-based surveillance data. My peers and I are trained (loosely speaking) as frequentists. I'm mindful of the aphorism: Statistics: A subject which most ...
1
vote
1answer
28 views

how should I specify a deterministic trend in my time series data?

How can I specify a trend (term) in my time series data? does it have a logical procedure or is it totally base on visual interpretation of historical plot?
1
vote
0answers
41 views

What is the statistical test to use for a trend analysis for continuous variables (non-paired)?

Please excuse my very elementary question... Please see attached graph. This is an example of the kind of data I'm trying to analyze. The data points are non-paired. There is definitely a time-...
1
vote
0answers
52 views

Ordered Chi squared or trend tests

I've applied the Stata non-parametric test for trend (nptrend) for a two-way table including one ordered categorical data (quintiles of deprivation index). Such clearly ordered variables are ...
1
vote
0answers
15 views

A test for Explantory method for testing if multiple pooled cross-sectional panels have same trend

I am trying to test to see if there is a "universal" trend in homicide across multiple nations. First, I utilized squared semi-partial correlation coefficient by estimating two models (1) a model ...
1
vote
0answers
116 views

Implementing Hamed and Rao (1998) and Yue and Wang (2004) Modified Mann-Kendall test in R- Help with Correction Factor Calculation?

I am trying to modify the code mkTrend.R from 'fume' package to implement Hamed and Rao (1998) variance correction approach. From the code of mkTrend, the following line is very confusing (Line-29 to ...
1
vote
0answers
89 views

Can the Mann Kendall Trend test be used on binary data?

If I have a dataset consisting of binary data e.g. (0,1,0,1,1,0,1,1,1,0,0,1), can I use the Mann-Kendall test to determine if there are an increasing or decreasing number of 1's? (My question is less ...
1
vote
0answers
14 views

Nonlinear methods for detecting and measuring the strength of a trend in the context of unit roots

I am looking for statistical methods to detect the presence and strength of a trend in the context of unit root testing. We could for instance use a trend-stationarity ADF test: Here the t-statistic ...
1
vote
0answers
164 views

Stochastic or deterministic trend

Having run panel unit root tests, we cannot reject the null of individual unit root (Im, Pesaran), suggesting a non-stationary series. Question 1 At this point, how do we know if we have a ...
1
vote
0answers
112 views

Using the likelihood-ratio test as a Cochran-Armitage test for trend

Maybe this is a silly question, but I need to perform a test for trend in a 2x3 contingency table and I've been said to use the Cochran-Armitage test for trend with weights (0, 1, 2). Okay, that's ...
1
vote
0answers
17 views

Which test to determine if there is a difference between pharmacological reaction and population characteristic (e.g. ethnicity) in R?

I have a data set where each row represents an individual and their respective measure of pharmacological reaction (protein level) in addition to their epidemiologic characteristics (e.g. ethnicity, ...
1
vote
0answers
925 views

How to deal with different numbers of days in a month for comparison?

My question is very basic, and I'm looking for a conceptual answer. We put about 55000 values (individual deliveries) on a graph. They are sorted by day of the month to see if there's a trend and to ...
1
vote
0answers
284 views

mixed results for stationarity tests and structural breaks

Following situation: I want to forecast a time series of the number of trucks on the motorway in some country. Here how the regular week looks like: I have data for 4 years and divide the huge time ...
0
votes
0answers
26 views

Modeling Pre-Trends in Difference-in-Differences

To get right to the point, the canonical difference-in-differences design is as follows: $$ y_{it} = \alpha + \gamma T_{i} + \lambda Post_{t} + \delta (T_{i} \times Post_{t}) + \varepsilon_{it}, $$ ...
0
votes
0answers
14 views

Samples required by Mann-Kendall Test vs Modified Mann-Kendall Test

Does the modified Mann-Kendall test by Hamed and Rao [1] require more samples than the original Mann-Kendall test? For example, the Visual Sample Plan (VSP) tool [2] calculates the number of samples ...
0
votes
0answers
21 views

How to check parallel trends assumption in DiD when treatment occurred in different moments of time?

I analyze a reform which introduced tax cuts for small firms. Different regions pursued this policy in different years. I estimated the effect using a fixed-effect model with a dummy on being treated. ...
0
votes
1answer
67 views

KPSS: Difference between level stationary and trend stationary

Can anyone please clarify for me the differences between level stationary and trend stationary in KPSS test? I run the KPSS test with trend and level on same time series and the results are: H0: ...
0
votes
0answers
31 views

Can I do a trend analysis with just 4 years of data?

I have proportions of health service use (several different types) across 4 years. All types of health services appear to be increasing over time. I wonder if it is possible to do a trend analysis ...
0
votes
0answers
38 views

how to regress for common trend assumption

I have a database of applicants for a grant and their applications for each year. I want to know the effect of the grant on nr of publications. But first i want to perform a common trend analysis. i ...
0
votes
0answers
32 views

Estimating the trend over time

I have series of data which is quarterly. I want to analyze is there any significance increase over time. With my little knowledge about ARIMA and time series I used auto.arima function ...
0
votes
0answers
220 views

two-sided Mann-Kendall test, interpretation p-values from R:trend package

I would like to perform a two-sided Mann-Kendall Test to check if I have a trend in my data. I understand that I calculate the Mann-Kendall statistic S with And the variance of S Then I calculated ...
0
votes
0answers
14 views

What is the name of the significance test SAP uses to identify trend?

I've been struggling for a while trying to identify which test does this equation belongs to: SAP uses this method to identify trends in its automatic model selection. You can find further ...
0
votes
0answers
34 views

Order of factor in test.for.trend survminer/survMisc R packages

I have some problems with the results of the function comp() from survMisc and surv_pvalue() from survminer R packages. They ...
0
votes
0answers
12 views

Temporal test for treatment when control is zero

I have a 5-year time series of abundance for three replicates in response to treatment, and three control replicates. ...
0
votes
0answers
41 views

In R, using the Johansen test for cointegration, how do you know if you should use trend?

As the title, really. In my time series class, we only ever covered using using the option constant, and never trend. But now when playing around, I notice markedly different results. Ie, if I use ...
0
votes
0answers
15 views

How are ranks defined in Page's trend test?

I'm confused about the two kinds of rank in a Page test with $n$ conditions and $k$ subjects. Wikipedia says the $i$th condition receives a rank $Y_i$ and a sum $X_i$ over the subjects' ranks. In ...
0
votes
1answer
25 views

Metric to Simulataneously Describe Linear Slope and Fit

I am currently running an analysis to quantify temporal linear trends across repeated measurements acquired during a physical ergonomics experiment (i.e., evaluating posture metrics collected over ...
0
votes
0answers
30 views

Search for universal monotoneous function for time-series trend removal

I have some time-series. They may be written as $$T(n)-T(n-1)=f(n)+\xi,$$ where T(n) - time of $n^{th}$ occurrence, $f(n)$ some monotonous function from number of event, $\xi$ random noise. These ...
0
votes
0answers
115 views

Non-parametric test for trend

I have non-normal data which are sampled from roughly 4 subjects at 4 dose levels. Is there a nonparametric test for trend I can use in SAS?
0
votes
0answers
170 views

Given sales data for a product, what is the best way to calculate the trend period for it?

I am looking for a statistical way to calculate an approximate in-trend period for a product from its sales data over a time period. Of course, in the 'in-trend' period, the sales of the product ...
0
votes
0answers
89 views

Which trend test should I use?

Sorry if this is a newbie question. For example, I have 5 groups and each group has different amount of people, and I got the face recognition score (in percentage, between 0 and 1) for all people in ...
0
votes
1answer
155 views

Analysing a genotypic 2X2 table instead of a 3X2 table

This could be a simple question to seasoned statistical genetics folks. I have delved into this doing an analysis for a friend on the sideline of a bioinformatics task I was helping her with. An ...
0
votes
1answer
76 views

Time series Analysis using LS

I know this is a bit of a broad question but generally if I have a time series and I want to measure whether it has trend according to time I do the following: I regress the series against time, time^...