Here's a sideways look at it (since the derivation of the power from an oscillating electic dipole is in almost every appropriate electromagnetism textbook). A conventional solution is provided at the foot of my answer.
If we assume that electromagnetic radiation is produced by the dynamics of an electric dipole, we can use physical intuition and dimensional analysis to get that proportionality.
Let us assume that the power radiated is proportional to the relevant physical constants to some power and is also proportional to $r^{-2}$, in order to conserve energy in spheres of different radius, and is proportional to the $m$th time derivative of the electric dipole moment raised to the power $n$.
$$I \propto c^{\alpha} (4\pi \epsilon_0)^{\beta} r^{-2} \left(\frac{d^m p}{dt^m}\right)^n$$
But we can guess that $n=2$, because the intensity must be real and positiv, but let's leave it free for the moment.
From there we can do a dimensional analysis by balancing the dependencies on charge, mass, length and time on the left and right hand sides of the proportionality.
The left hand side is a power per unit area. This has dimensions of $M L^2 T^{-3} \times L^{-2} = M^1 L^0 T^{-3}$, where $M$ represents mass, $L$ length and $T$ time.
On the right hand side we can do the same thing, but we also need to introduce the dimension of charge, $Q$, so that dipole moment has dimensions of $Q^1 L^1$.
Going through the other individual terms. $c$ has dimensions $L^1T^{-1}$; from Coulomb's law we can get that $4\pi \epsilon_0$ has dimensions $Q^2/MLT^{-2} L^2 = Q^2 M^{-1} L^{-3} T^2$; $r^{-2}$ has dimensions of $L^{-2}$; and the $m$th time derivative introduces dimensions of $T^{-m}$. Putting this together, the proportionality becomes
$$ M^1 L^0 T^{-3} Q^0 = (LT^{-1})^{\alpha} (Q^2M^{-1} L^{-3} T^2)^{\beta} (L^{-2}) (Q^1L^1T^{-m})^n\ ,$$
where we have explicitly assuled the left hand side does not depend on charge at all - i.e. $Q^0$.
Now we equate the powers of the various dimension on each side of the proportionality, since they must balance. Equating powers of $M$ first :
$$ 1 = -\beta \ \ \ \rightarrow\ \beta = -1$$
Using $\beta = -1$, equate powers of $Q$ :
$$ 0 = -2 + n\ \ \ \rightarrow\ n=2\ ,$$
which is as we suspected earlier. Now using $\beta=-1, n=2$, equate powers of $L$ :
$$0 = \alpha +3 -2 +2 \ \ \ \rightarrow \alpha = -3$$
and finally, using $\alpha=-3, \beta=-1, n=2$, equate powers of $T$ :
$$ -3 = 3 -2 -2m \ \ \ \rightarrow m = 2\ .$$
Thus
$$I \propto c^{-3} (4\pi\epsilon_0)^{-1} r^{-2} \left(\frac{d^2 p}{dt^2}\right)^2 = \frac{ \ddot{p}^2}{4\pi \epsilon_0 c^3 r^2}$$
Conventional solution
Intensity radiated by a sinusoidally oscillating electric dipole of the form
$$ p = p_0 \sin \omega t$$
is (and this really is in every textbook on electrodynamics, or see here):
$$I = \frac{\omega^4 p_0^2}{32 \pi^2 \epsilon_0 c^3}\frac{\sin^2\theta}{r^2}$$
But from the definition of the dipole we see that
$$\ddot{p} = - \omega^2 p_0 \sin\omega t$$
and so
$$\ddot{p}^2 = \omega^4 p_0^2 \sin^2 \omega t$$
For high frequency radiaton we would normally take the time average of this ($1/2$) and substitute this into the intensity equation
$$ I = \frac{2\langle \ddot{p}^2\rangle}{32 \pi^2 \epsilon_0 c^3}\frac{\sin^2\theta}{r^2} = \frac{\sin^2\theta}{4\pi} \left( \frac{\langle \ddot{p}^2\rangle}{4\pi \epsilon_0 c^3 r^2}\right)\ .$$