No, they are different from each other.
The static compression ratio doesn't take into account the closing of the intake valve, which impacts the practicality of the results.
The dynamic compression ratio(DRC), on the other hand, gives the actual cylinder pressure because it changes dynamically and hence provides information about how the engine will perform. Read more