# up.down

### Description

Returns the log-maximum likelihood and the estimator of the mean under under up-down profile with maximum at `h`

.

### Usage

1 |

### Arguments

`data` |
A vector containing the expressions of one gene. |

`x` |
A vector consisting of the average expression at time points (1, 2,... ,T), where T is the total number of time points. |

`n.rep` |
A vector consisting of the number of replicate arrays at time points (1, 2,... ,T), where T is the total number of time points. |

`h` |
Up-down profile with maximum at |

### Value

`logelr` |
Log-maximum likelihood |

`mu` |
A vector containing the estimator of the mean |

### Author(s)

Tianqing Liu, Nan Lin, Ningzhong Shi and Baoxue Zhang

Maintainer: Tianqing Liu <tianqingliu@gmail.com>

### References

Liu, T., Lin, N., Shi, N. and Zhang, B. (2009), *Information criterion-based clustering with order-restricted candidate profiles in short time-course microarray experiments.* BMC Bioinformatics, **10**: 146.

Robertson, T., Wright, F. T. and Dykstra, R. L. (1988). *Order restricted statistical inference.* New York: Wiley.

Shi, N., Gao, W. and Zhang, B. (2001). *One sided estimation and testing
problems for location models from grouped samples.*
Commun Statist-Simula, **30**: 885-898.