===========================================================================
Reconstructing Improper Values with Last Observation Carried Forward (LOCF)
===========================================================================
:doc:`/SingleStepClassifiers/CausalStep/index`

This step replaces any improper values in the data vector with the value immediately preceding it.

.. rubric:: Input Parameters

1. Input data including improper values

2. Definition of improper values ('nan', 'inf', or 'null', etc.)

.. rubric:: Output Parameters

1. Output data excluding improper values

.. rubric:: Workflow

.. image:: workflow.svg


.. rubric:: References

- J.\  Shao and B.Zhong, Last observation carry-forward and last observation analysis, Stat Med, vol. 22(15), pp. 2429-41, 2003.